predict.polynom {PolynomF}R Documentation

Evaluate a polynomial

Description

Evaluate a polynomial, or polylist object components.

Usage

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

## S3 method for class '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.


[Package PolynomF version 2.0-8 Index]