Description Usage Arguments Value Examples
View source: R/generalFunctions.R
Function to calculate median of vector excluding 0s and return NA if more 0s than given threshold
1 | med(x, maxNAs = 1)
|
x |
vector to calculate median of |
maxNAs |
Fraction of missing values allowed in vector, if > 0s than |
Median value
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.