pf90_code_missing | R Documentation |
This function returns a code outside the range of variation of the observed values.
pf90_code_missing(x)
x |
a numeric vector. |
If the range of variation strictly excludes zero, then it is used as the code for missing observations (which is the default code in PROGSF90). Otherwise, returns 1 - the second power of 10 greater than the maximum observed magnitude. This ensures a code an order of magnitude greater than the observed values. E.g., for observations in the range -40 – 28, the code is -999.
breedR:::pf90_code_missing(rnorm(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.