predict.polynomial.RdEvaluate a polynomial at a given numeric or polynomial argument.
# S3 method for class 'polynomial'
predict(object, newdata, ...)This is a method for the generic function predict.
The polynomial is evaluated according to the Horner scheme for speed and numerical accuracy.
Evaluated object of the same class as newdata.