bootstrap.clpca {lmap}R Documentation

Bootstrap procedure for Cumulative Logistic (Restricted) PCA

Description

Bootstrap procedure for Cumulative Logistic (Restricted) PCA

Usage

bootstrap.clpca(object, Bsamples = 1000, myseed = 1)

Arguments

object

An output object from clpca

Bsamples

Number of Bootstrap samples to take

myseed

A seed number to make the bootstrap reproducible

Value

BBdf Bootstrap estimates of B

BVdf Bootstrap estimates of V

Examples

## Not run: 
data(dataExample_clpca)
Y<-as.matrix(dataExample_clpca[,5:8])
X<-as.matrix(dataExample_clpca[,1:4])
# supervised
output = clpca(Y = Y, X = X, S = 2)
boot.output = bootstrap.clpca(output, Bsamples = 100)
plot(boot.output)

## End(Not run)


[Package lmap version 0.2.4 Index]