Description Usage Arguments Value Examples
View source: R/silverman.plot.R
P-values are obtained using the silverman.test
function with the number of modes ranging from kmin
to kmax
.
1 | silverman.plot(x, kmin = 1, kmax = 5, alpha = 0.05, adjust = FALSE)
|
x |
The vector of data to use for testing. |
kmin, kmax |
The number of modes. |
alpha |
Significance level, shown as a dashed line in the resulting plot. |
adjust |
Perform p-value adjustment in case of |
The function does not return anything, but creates a plot.
1 | silverman.plot(x = c(rpois(n = 50, lambda = 1), rnorm(n = 100, mean = 4)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.