Description Usage Arguments Value Examples
Select the best parameters from a set of results
Return the optimal model based on BIC scores
1 2 3 |
small.em |
A 'small.em' object |
The parameters of the best model, as judged by log-likelihood.
1 2 3 4 5 6 | x <- model.matrix(~ factor(wool) + factor(tension), warpbreaks)
y <- warpbreaks$breaks
warm_up <- small.em(x = x, y = y, K = 2, b.init = "random", sample.size = 20)
select_best(warm_up)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.