Reads every variable's value for every sample off that variable's contour
lines at the sample's biplot position \(\lambda_i\) – the same
interpolation used to draw the contours in plot.prinsurf.
Values come from the contour grid alone: a sample whose position is not
covered by the supported part of the grid has no contours to read, and is
returned as NA for every variable.
Usage
# S3 method for class 'prinsurf'
predict(object, ...)Value
An \(n \times p\) matrix of values read from the contours, on the
variables' original scales, with NA rows where the biplot cannot be
read.
See also
contour_predictive_error to measure this reading
against the variables' actual values, and fitted.prinsurf
for the surface's own reconstruction of the data.
