nanmean4 {specieschrom} | R Documentation |
Mean of the n highest values of a vector.
Description
Estimates the mean of the n% highest values in vector x.
Usage
nanmean4(x, n)
Arguments
x |
a vector with the values to average |
n |
an integer corresponding to the percentage of values to use |
Value
mean of the n% highest values in vector x
[Package specieschrom version 1.0.0 Index]