PCA: Principal Component Analysis

Description Usage Arguments Value Examples

View source: R/toolbox.R

Description

Performs PCA of compositional data using a centred logratio distance

Usage

1
PCA(x, ...)

Arguments

x

an object of class compositional

...

optional arguments to R's princomp function

Value

an object of classes PCA, which is synonymous to the stats packages' princomp class.

Examples

1
2
3
4
5
data(Namib)
plot(MDS(Namib$Major,classical=TRUE))
dev.new()
plot(PCA(Namib$Major),asp=1)
print("This example demonstrates the equivalence of classical MDS and PCA")

pvermees/provenance documentation built on Oct. 7, 2018, 9:06 a.m.