gmGeostats (version 0.10-6)

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, ...)

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

See Also

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

Examples

Run this code
# NOT RUN {
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 DataCamp Workspace