robCompositions (version 2.1.0)

biplot.pcaCoDa: Biplot method

Description

Provides robust compositional biplots.

Usage

# S3 method for pcaCoDa
biplot(x, y, ...)

Arguments

x

object of class ‘pcaCoDa’

y

...

arguments passed to plot methods

Value

The robust compositional biplot.

Details

The robust compositional biplot according to Aitchison and Greenacre (2002), computed from (robust) loadings and scores resulting from pcaCoDa, 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, plot.pcaCoDa

Examples

Run this code
# NOT RUN {
data(coffee)
p1 <- pcaCoDa(coffee[,-1])
p1
biplot(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="classical")
biplot(pc, xlabs=rownames(arcticLake))


# }

Run the code above in your browser using DataLab