Description Usage Arguments Value Author(s) Examples
View source: R/find_MixtureThreshold.r
Bootstrap two component univariate mixture models on feature of interest and find real intersection (valley between the two mixture model means).
1 2 | find_MixtureThreshold(dat, boot.size, method=c('diff', 'intersect'),
apply.all.dat = FALSE)
|
dat |
Vector of selected features |
method |
Either 'diff' or 'intersection'. Former argument estimates the difference in the posterior probability. Later argument calls on function findInt() to find the real value intersection between two Guassian mixture means. |
apply.all.dat |
boolean: FALSE implies take sample with replacement on dat and is the default for bootstrapping; TRUE denotes otherwise and no sampling of dat is performed |
mix.threshold |
Indicator variable denoting if |
return(list(mix.threshold=mix.threshold$rr, boot.samp = samp.dat, mix.means = mix.means1, sw = sw))
Marcela Cespedes and Amy Chan
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.