Description Usage Arguments Value References Examples
Estimates the mode of a continuous variable.
1 | modecontin(x, plot = FALSE, ...)
|
x |
A numeric vector. |
plot |
A logical scalar indicating whether to plot the results, default FALSE. |
... |
Additional arguments to the |
The estimated mode of x
.
Based on a method posted by Peter Dalgaard on 29 Aug 2008 on r-help.
1 2 | x <- rnorm(100)
modecontin(x, TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.