PolynomF (version 2.0-2)

predict.polynom: Evaluate a polynomial

Description

Evaluate a polynomial, or polylist object components.

Usage

# S3 method for polynom
predict(object, newdata, ...)

# S3 method for polylist predict(object, newdata, ...)

Arguments

object

A polynomial or polylist object

newdata

A target object at which to evaluate.

...

Not used

Value

If newdata is a numeric vector, a numeric vector of results. If newdata is a polynomial, then the composition is returned as a polynomial, or polylist object.