Description Usage Arguments Details Value Examples
View source: R/parameterObject.R
geomMean
will calculate the geometric mean of a list of numerical values.
1 |
x |
A vector of numerical . |
rm.invalid |
Boolean value for handling 0, negative, or NA values in the vector. Default is TRUE and will not
include these values in the calculation. If FALSE, these values will be replaced by the value give to |
default |
Numerical value that serves as the value to replace 0, negative, or NA values in the calculation when rm.invalid is FALSE. Default is 1e-5. |
This function is a special version of the geometric mean specifically for AnaCoda.
Most models in Anacoda assume a log normal distribution for phi values, thus all values in x
are expectd to be positive.
geomMean returns the geometric mean of a vector and can handle 0, negative, or NA values.
Returns the geometric mean of a vector.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.