bootstrap: bootstrap a model

View source: R/all_generic.R

bootstrapR Documentation

bootstrap a model

Description

bootstrap a model

Usage

bootstrap(x, nboot, ...)

## S3 method for class 'mubada'
bootstrap(
  x,
  niter,
  nboot = 100,
  ncomp = x$ncomp,
  type = c("projection", "rotated", "unrotated")
)

Arguments

x

the model fit

nboot

the number of bootstrap resamples

...

extra args

Examples


## 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)

bbuchsbaum/neuroca documentation built on April 22, 2022, 2:50 a.m.