predict.polynom: Evaluate a polynomial

View source: R/PolynomF.R

predict.polynomR 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.


PolynomF documentation built on May 2, 2022, 9:07 a.m.