gmGeostats (version 0.11.3)

coloredBiplot.genDiag: Colored biplot for gemeralised diagonalisations Colored biplot method for objects of class genDiag

Description

Colored biplot for gemeralised diagonalisations Colored biplot method for objects of class genDiag

Usage

# S3 method for genDiag
coloredBiplot(x, choices = 1:2, scale = 0, pc.biplot = FALSE, ...)

Value

nothing. Function is called exclusively to produce the plot

Arguments

x

a generalized diagonalisation object, as obtained from a call to Maf (or to UWEDGE or RJD, on the help page of Maf).

choices

which factors should be represented? vector of 2 indices; defaults to c(1,2)

scale

deprecated, kept for coherence with link{biplot.princomp}

pc.biplot

same as the homonimous argument from link{biplot.princomp}: boolean, to scale variables down by sqrt(n) and observations up by the same factor.

...

further arguments to coloredBiplot

References

Mueller, Tolosana-Delgado, Grunsky and McKinley (2020) Biplots for compositional data derived from generalised joint diagonalization methods. Applied Computational Geosciences 8:100044 tools:::Rd_expr_doi("10.1016/j.acags.2020.100044")

See Also

Other generalised Diagonalisations: Maf(), predict.genDiag()

Examples

Run this code
data("jura", package="gstat")
juracomp = compositions::acomp(jura.pred[, -(1:6)]) 
lrvg = logratioVariogram(data=juracomp, loc=jura.pred[,1:2])
mf = Maf(juracomp, vg=lrvg)
mf
compositions::coloredBiplot(mf, xlabs.col=as.integer(jura.pred$Rock)+2)

Run the code above in your browser using DataLab