bootstrap | R Documentation |
bootstrap a model
bootstrap(x, nboot, ...) ## S3 method for class 'mubada' bootstrap( x, niter, nboot = 100, ncomp = x$ncomp, type = c("projection", "rotated", "unrotated") )
x |
the model fit |
nboot |
the number of bootstrap resamples |
... |
extra args |
## mubada bootstrap analysis Xl <- lapply(1:5, function(i) matrix(rnorm(100*20), 100, 20)) Yl <- lapply(1:5, function(i) factor(rep(letters[1:5], length.out=100))) mb <- mubada(Yl, Xl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.