powered by
Plots a Logistic PCA Model
# S3 method for lpca plot( x, dims = c(1, 2), type = "H", ycol = "darkgreen", xcol = "lightskyblue", ocol = "grey", ... )
Plot of the results obtained from lpca
an object of type lpca
which dimensions to visualize
either H (hybrid), I (inner product/pca), or D (distance/melodic)
colour for representation of response variables
colour for representation of predictor variables
colour for representation of row objects
additional arguments to be passed.
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) plot(output) }
Run the code above in your browser using DataLab