NNS.gravity {NNS} | R Documentation |
NNS gravity
Description
Alternative central tendency measure more robust to outliers.
Usage
NNS.gravity(x, discrete = FALSE)
Arguments
x |
vector of data. |
discrete |
logical; |
Value
Returns a numeric value representing the central tendency of the distribution.
Author(s)
Fred Viole, OVVO Financial Systems
Examples
## Not run:
set.seed(123)
x <- rnorm(100)
NNS.gravity(x)
## End(Not run)
[Package NNS version 10.8.2 Index]