Let x be a numeric vector. Create a new function, say depth, which will have a serial

Question:

Let x be a numeric vector. Create a new function, say depth, which will have a serial number as an argument, between 1:length(x), and its output should return the depth of the datum.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

A Course In Statistics With R

ISBN: 9781119152729

1st Edition

Authors: Prabhanjan N. Tattar, Suresh Ramaiah, B. G. Manjunath

Question Posted: