if (FALSE) {
library(boot)
# source("dev/eigstatCI.R")
# source("dev/plot.boxM_with_bootstrap.R")
# Iris data with bootstrap CIs
boxm <- boxM(iris[,1:4], iris$Species)
# logDet with analytic CI (same as before)
plot_boxM_boot(boxm, gplabel = "Species")
# Sum of eigenvalues with bootstrap CI
plot_boxM_boot(boxm, Y = iris[,1:4], group = iris$Species,
which = "sum", gplabel = "Species", boot.R = 1000)
}
Run the code above in your browser using DataLab