Learn R Programming

robCompositions (version 2.0.0)

plot.pcaCoDa: Plot method

Description

Provides robust compositional biplots.

Usage

"plot"(x, y, ...)

Arguments

x
object of class ‘pcaCoDa’
y
...
...
...

Value

The robust compositional biplot.

Details

The robust compositional biplot according to Aitchison and Greenacre (2002), computed from resulting (robust) loadings and scores, is performed.

References

Aitchison, J. and Greenacre, M. (2002). Biplots of compositional data. Applied Statistics, 51, 375-392. \

Filzmoser, P., Hron, K., Reimann, C. (2009) Principal Component Analysis for Compositional Data with Outliers. Environmetrics, 20 (6), 621--632.

See Also

pcaCoDa

Examples

Run this code

data(expenditures)
p1 <- pcaCoDa(expenditures)
p1
plot(p1)


## with labels for the scores:
data(arcticLake)
rownames(arcticLake) <- paste(sample(letters[1:26],nrow(arcticLake), replace=TRUE), 
                              1:nrow(arcticLake), sep="")
pc <- pcaCoDa(arcticLake, method="standard")
plot(pc, xlabs=rownames(arcticLake))


Run the code above in your browser using DataLab