Description Usage Arguments Value Author(s) See Also
A wrapper for poly, dpoly, and ddpoly.
1  | 
x | 
 a numeric vector at which to evaluate the polynomial.   | 
degree | 
 the degree of the polynomial. Must be less than the number of unique points if   | 
coefs | 
 for prediction, coefficients from a previous fit.  | 
nderivs | 
 allowable values are 0, 1, and 2. If   | 
raw | 
 if true, use raw and not orthogonal polynomials.  | 
poly.wrap returns the value returned by poly, dpoly, or ddpoly, depending on the value of nderivs.
Michael Lipsitz, Alexandre Belloni, Victor Chernozhukov, Ivan Fernandez-Val
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.