plot.bootEM | R Documentation |
This function is the plot method for the class bootEM
.
## S3 method for class 'bootEM'
plot(x, ...)
x |
an object of class |
... |
the other parameters passed to the function |
The histogram of the bootstrap LRT statistics w_1
is plotted, with the
observed LRT statistic imposed in a red vertical line.
bs.test
## plotting the bootstrap LRT result
set.seed(100)
x <- rmixnormal(200, c(0.5, 0.5), c(2, 5), c(1, 0.7))
ret <- bs.test(x, ncomp = c(2, 3), B = 30)
plot(ret)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.