powered by
This function runs: logistic principal component analysis (if X = NULL) logistic reduced rank regression (if X != NULL)
lpca( Y, X = NULL, S = 2, start = NULL, dim.indic = NULL, eq = FALSE, lambda = FALSE, maxiter = 65536, dcrit = 1e-06 )
This function returns an object of the class lpca with components:
lpca
Call to the function
Matrix Y from input
Matrix X from input
Scaled X matrix
Mean values of X
Standard deviations of X
Variable names of responses
Variable names of predictors
Estimated values of Y
main effects
matrix with coordinates for row-objects
matrix with regression weight (U = XB)
matrix with vectors for items/responses
number of main iterations from the MM algorithm
value of the deviance at convergence
number of estimated parameters
Akaike's Information Criterion
Bayesian Information Criterion
An N times R binary matrix .
An N by P matrix with predictor variables
Positive number indicating the dimensionality of the solution
Option to provide starting values (list with m, U or B, and V)
An R by S matrix indicating which response variable pertains to which dimension
Only applicable when dim.indic not NULL; equality restriction on regression weighhts per dimension
if TRUE does lambda scaling (see Understanding Biplots, p24)
maximum number of iterations
convergence criterion
if (FALSE) { data(dataExample_lpca) Y = as.matrix(dataExample_lpca[, 1:8]) X = as.matrix(dataExample_lpca[, 9:13]) # unsupervised output = lpca(Y = Y, S = 2) }
Run the code above in your browser using DataLab