## S3 method for class 'prcurve':
predict(object, newdata, \dots)## S3 method for class 'prcurve':
fitted(object, type = c("curve","smooths"), ...)
prcurve
.names
or colnames
. If a data frame is
supplied, it is converted to a How these points are ordered along the fitted curve is contained in
attributed tag
.
Given a fitted curve, the projection step can be used to find new points on the fitted curve by projecting the new points located in the hyperspace on to points on the curve to which they are closest.
Fitted values are available for the data used to the fit the principal
curve. There are two types of fitted value available. For type =
"curve"
, the fitted locations on the principal curve. For type
= "smooths"
, the fitted values of the variables from the individual
smooth functions with respect to distance along the principal curve.
prcurve
for details on fitting principal curves and
an example.