predict.monpol {MonoPoly} | R Documentation |
Predicting from Monotone Polynomial Fits
Description
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 |
scale |
Predict values on the original scale of the data
or on the scale used during fitting. Data in |
... |
Additional optionals arguments. At present no optional arguments are used. |
Details
This is the predict
method for objects inheriting from
class "monpol"
.
Value
predict.monpol
produces a vector of predictions.
Author(s)
Berwin A Turlach <Berwin.Turlach@gmail.com>
[Package MonoPoly version 0.3-10 Index]