predict.monpol produces predicted values, obtained by evaluating
the monotone polynomial in the frame newdata.
Usage
## S3 method for class 'monpol'
predict(object, newdata, scale = c("original", "fitted"), ...)
Arguments
object
A ‘monpol’ object.
newdata
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.
scale
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.
Details
This is the predict method for objects inheriting from
class "monpol".