Description Usage Arguments Value
Define a function that will take a vector and return the mean of the vector only if it is a vector of numbers but returns the first instance of the vector when it is not a number
1 |
x |
vector of mixed numbers and other values |
an average of only the numbers of a given vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.