prediction.Rd
This function makes predictions of sample points, variables and means and displays them on the biplot.
prediction(bp, predict.samples = NULL, predict.means = NULL, which = 1:bp$p)
an object of class biplot
obtained from preceding function biplot()
.
a vector specifying which samples to predict.
a vector specifying which group means to predict.
a vector specifying which variable to do the prediction.
A list object called predict
appended to the object of class biplot
with the following elements:
a vector of indices of samples which are being predicted.
a vector of group names of groups for which the means are being predicted.
the vector of indices variables which are being predicted.
the matrix of predicted samples.
the matrix of predicted group means.