plot.lpca {lmap} | R Documentation |
Plots a Logistic PCA Model
Description
Plots a Logistic PCA Model
Usage
## S3 method for class 'lpca'
plot(
x,
dims = c(1, 2),
type = "H",
ycol = "darkgreen",
xcol = "lightskyblue",
ocol = "grey",
...
)
Arguments
x |
an object of type lpca |
dims |
which dimensions to visualize |
type |
either H (hybrid), I (inner product/pca), or D (distance/melodic) |
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. |
Value
Plot of the results obtained from lpca
Examples
## 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)
[Package lmap version 0.1.2 Index]