Learn R Programming

lmap (version 0.2.4)

bootstrap.mcd: Bootstrap procedure for Multonimal Canonical Decomposition Model

Description

Bootstrap procedure for Multonimal Canonical Decomposition Model

Usage

bootstrap.mcd(object, Bsamples = 1000)

Value

BBdf Bootstrap estimates of B

BVdf Bootstrap estimates of V

Arguments

object

An output object from mcd1 or mcd2

Bsamples

Number of Bootstrap samples to take

Examples

Run this code
if (FALSE) {
data(dataExample_lpca)
Y = as.matrix(dataExample_lpca[, 1:8])
X = as.matrix(dataExample_lpca[, 9:13])
# supervised
output = mcd1(X, Y, S = 2, ord.z = 2)
#' boot.output = bootstrap.mcd(output, Bsamples = 100)
plot(boot.output)
}

Run the code above in your browser using DataLab