predict.monpol produces predicted values, obtained by evaluating
the monotone polynomial in the frame newdata.
# S3 method for monpol
predict(object, newdata, scale = c("original", "fitted"), ...)A ‘monpol’ object.
A named list or data frame in which to look for variables with
which to predict. If newdata is
missing the fitted values at the original data points are returned.
Predict values on the original scale of the data
or on the scale used during fitting. Data in newdata is
assumed to be on the indicated scale.
Additional optionals arguments. At present no optional arguments are used.
predict.monpol produces a vector of predictions.
This is the predict method for objects inheriting from
class "monpol".