File: predict.polynomial.Rd

package info (click to toggle)
r-cran-polynom 1.4-1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 212 kB
  • sloc: makefile: 2
file content (28 lines) | stat: -rw-r--r-- 757 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
\name{predict.polynomial}
\alias{predict.polynomial}
\title{Evaluate a Polynomial}
\usage{
\method{predict}{polynomial}(object, newdata, \dots)
}
\arguments{
  \item{object}{A polynomial object to be evaluated.}
  \item{newdata}{Argument at which evaluation is requested.  May be
    numeric or itself a polynomial}
  \item{\dots}{Not used by this method.}
}
\description{
  Evaluate a polynomial at a given numeric or polynomial argument.
}
\details{
  This is a method for the generic function \code{\link{predict}}.

  The polynomial is evaluated according to the Horner scheme for speed
  and numerical accuracy.
}
\value{
  Evaluated object of the same class as \code{newdata}.
}
\seealso{
  \code{\link{as.function.polynomial}}
}
\keyword{symbolmath}