Learn R Programming

matrixpls (version 0.4.0)

matrixpls.boot: Bootstrapping of matrixpls function

Description

matrixpls.boot is a convenience method that implements bootstrapping of matrixpls with boot method of the boot package.

Usage

matrixpls.boot(data, R = 500, ..., signChangeCorrection = NULL,
  parallel = c("no", "multicore", "snow"), ncpus = getOption("boot.ncpus",
  1L), stopOnError = FALSE)

Arguments

data
Matrix or data frame containing the raw data.
R
Number of bootstrap samples to draw.
...
All other parameters are passed through to matrixpls.
signChangeCorrection
Sign change correction function.
parallel
The type of parallel operation to be used (if any). If missing, the default is taken from the option "boot.parallel" (and if that is not set, "no").
ncpus
integer: number of processes to be used in parallel operation: typically one would chose this to the number of available CPUs.
stopOnError
A logical indicating whether boostrapping should be continued when error occurs in a replication.

Value

  • An object of class boot.

See Also

boot

Sign change corrections: signChange.individual; signChange.construct