Description Usage Arguments Value Examples
A function that finds cutoff for a 1D distribution.
1 | findCutoff(x, returnSil = FALSE, useBL = TRUE, minX = 0)
|
x |
A vector of values. |
returnSil |
Logic, used to specify if the max average silhouette is returned |
useBL |
Logic, used to specify if outliers should be ignored |
minX |
A numerical value, used to specify the min value allowed for the cutoff. |
If returnSil=F, returns a single cutoff value. Otherwise, returns a list containing the cutoff value and the max average silhouette
1 2 | x=c(rnorm(1000),rnorm(1000,5))
findCutoff(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.