Description Usage Arguments Details References
View source: R/convenience_functions.R
Convenience functions. These are generally not to be called by the user
1 | harm_mean(x)
|
x |
A numeric vector or maxtrix. |
The formula for the harmonic mean given in the function harm_mean
is:
e_h = n / ∑{\frac{1}{e_j}}
By default, the function will remove infinite values and calculate the sum using non-missing values.
Holland, J.B., W.E. Nyquist, and C.T. Cervantes-Martinez. 2003. Estimating and Interpreting Heritability for Plant Breeding. p. 9-112. In Janick, J. (ed.), Plant Breed. Rev. John Wiley & Sons, Inc.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.