plot.lpca | R Documentation |
Plots a Logistic PCA Model
## S3 method for class 'lpca'
plot(
x,
dims = c(1, 2),
type = "H",
pmarkers = seq(0.1, 0.9, by = 0.1),
ycol = "darkgreen",
xcol = "darkblue",
ocol = "grey",
...
)
x |
an object of type lpca |
dims |
which dimensions to visualize |
type |
either H (hybrid), I (inner product/pca), or D (distance/melodic) |
pmarkers |
vector or list of length R (the number of response variables) with values between 0 and 1 for markers on the response variable axes. |
ycol |
colour for representation of response variables |
xcol |
colour for representation of predictor variables |
ocol |
colour for representation of row objects |
... |
additional arguments to be passed. |
Plot of the results obtained from lpca
## Not run:
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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.