screeplot.mvPCA: Plotting Method for a Principal Component Object of Type...

Description Usage Arguments Value Author(s) See Also Examples

Description

Creates a screeplot for an object of class mvPCA. Works analogously to a normal screeplot for a classical principal component analysis. Here however the y-axis gives the proportion of the variation explained by the components.

Usage

1
2
3
4
5
6
## S3 method for class 'mvPCA'
plot(x, main = deparse(substitute(x)), ...)
## S3 method for class 'mvPCA'
screeplot(x, npcs = min(10, length(x$EigenV)), 
          type = c("barplot", "lines"), 
          main = deparse(substitute(x)), ...)

Arguments

x

an object to type mvPCA.

npcs

the number of components to be plotted.

type

the type of plot.

main

title of the plot.

...

other graphical parameters passed to or from other methods.

Value

A screeplot.

Author(s)

Klaus Nordhausen

See Also

mvPCA

Examples

1
2
3
4
data(IRIS)
IRIS <- iris[,1:4]
iris.pca <- mvPCA(IRIS, "sign", "i")
plot(iris.pca, type="lines")

Example output

Loading required package: ICSNP
Loading required package: mvtnorm
Loading required package: ICS
Loading required package: SpatialNP
Warning message:
In data(IRIS) : data set 'IRIS' not found

MNM documentation built on May 2, 2019, 5:09 a.m.