predict.polynom | R Documentation |
Evaluate a polynomial, or polylist object components.
## S3 method for class 'polynom'
predict(object, newdata, ...)
## S3 method for class 'polylist'
predict(object, newdata, ...)
object |
A polynomial or polylist object |
newdata |
A target object at which to evaluate. |
... |
Not used |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.