meanPositiveValues | R Documentation |
Calculate the mean of all strictly positive values.
meanPositiveValues(x)
x |
A vector of values. |
The average of all the positive values. Returns NaN
is no
strictly positive values are found.
meanPositiveValues(-10:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.