plot.clpca: Plots a Cumulative Logistic PCA model

View source: R/plot.clpca.R

plot.clpcaR Documentation

Plots a Cumulative Logistic PCA model

Description

Plots a Cumulative Logistic PCA model

Usage

## S3 method for class 'clpca'
plot(
  x,
  dims = c(1, 2),
  ycol = "darkgreen",
  xcol = "darkblue",
  ocol = "grey",
  markersize = 2.5,
  labelsize = 3,
  ...
)

Arguments

x

an object of type clpca

dims

which dimensions to visualize

ycol

colour for representation of response variables

xcol

colour for representation of predictor variables

ocol

colour for representation of row objects

markersize

size of points

labelsize

size of labels

...

additional arguments to be passed.

Value

Plot of the results obtained from clpca

Examples

## Not run: 
data(dataExample_clpca)
Y<-as.matrix(dataExample_clpca[,5:8])
X<-as.matrix(dataExample_clpca[,1:4])
out = clpca(Y, X)
plot(out)

## End(Not run)


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

Related to plot.clpca in lmap...