Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

predict.polynom

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

Polynomials in R

v2.0-3
GPL-2
Authors
Bill Venables, with contribution by Kurt Hornik and Georgi Boshnakov
Initial release
2020-02-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.