poly
, dpoly
, and ddpoly
.
poly.wrap(x, degree = 1, coefs = NULL, nderivs = 1, raw = FALSE)
x
can also be a matrix. Missing values are not allowed in x
.
raw = TRUE
.
nderivs = 0
, all other arguments are passed to poly
. If nderivs = 1
, all other arguments are passed to dpoly
. If nderivs = 2
, all other arguments are passed to ddpoly
.
poly.wrap
returns the value returned by poly
, dpoly
, or ddpoly
, depending on the value of nderivs
.
poly
, dpoly
, ddpoly