powered by
Mode of a distribution, either continuous or discrete.
NNS.mode(x, discrete = FALSE, multi = TRUE)
Returns a numeric value representing the mode of the distribution.
vector of data.
logical; FALSE (default) for discrete distributions.
FALSE
logical; TRUE (default) returns multiple mode values.
TRUE
Fred Viole, OVVO Financial Systems
if (FALSE) { set.seed(123) x <- rnorm(100) NNS.mode(x) }
Run the code above in your browser using DataLab