| predict.genDiag | R Documentation | 
Predict method for generalised diagonalisation objects
## S3 method for class 'genDiag'
predict(object, newdata = NULL, ...)
object | 
 a generalized diagonalisation object, as obtained from a call to
  | 
newdata | 
 a matrix or data.frame of factor scores to convert back to the original
scale (default: the scores element from   | 
... | 
 not used, kept for generic compatibility  | 
A data set or compositional object of the nature of the original data used for creating the genDiag object.
Other generalised Diagonalisations: 
Maf(),
coloredBiplot.genDiag()
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
biplot(mf)
predict(mf) 
unclass(predict(mf)) - unclass(juracomp) # predict recovers the original composition
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.