predict.monpol: Predicting from Monotone Polynomial Fits

Description Usage Arguments Details Value Author(s)

View source: R/util.R

Description

predict.monpol produces predicted values, obtained by evaluating the monotone polynomial in the frame newdata.

Usage

1
2
## 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".

Value

predict.monpol produces a vector of predictions.

Author(s)

Berwin A Turlach <Berwin.Turlach@gmail.com>


MonoPoly documentation built on May 2, 2019, 7:59 a.m.