coloredBiplot.genDiag: Colored biplot for gemeralised diagonalisations Colored...

View source: R/genDiag.R

coloredBiplot.genDiagR Documentation

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 class 'genDiag'
coloredBiplot(x, choices = 1:2, scale = 0, pc.biplot = FALSE, ...)

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

Value

nothing. Function is called exclusively to produce the plot

References

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

See Also

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

Examples

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)

gmGeostats documentation built on April 18, 2023, 5:08 p.m.