bootstrap.lpca: Bootstrap procedure for Logistic (Restricted) PCA

View source: R/bootstrap.lpca.R

bootstrap.lpcaR Documentation

Bootstrap procedure for Logistic (Restricted) PCA

Description

Bootstrap procedure for Logistic (Restricted) PCA

Usage

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

Arguments

object

An output object from lpca

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_lpca)
Y = as.matrix(dataExample_lpca[, 1:8])
X = as.matrix(dataExample_lpca[, 9:13])
# supervised
output = lpca(Y = Y, X = X, S = 2)
boot.output = bootstrap.lpca(output, Bsamples = 100)
plot(boot.output)

## End(Not run)


lmap documentation built on April 3, 2025, 5:47 p.m.

Related to bootstrap.lpca in lmap...