poly_base | R Documentation |
Generate polynomial basis vector up to order p.
has multivariate functionality as described in the main paper
normalized by factorials in denominator.
NOTE: currently works only up to 4th degree polynomial expansion for multivariate x
.
poly_base(x, p)
x |
A number or vector. |
p |
A number (integer). |
Polynomial basis of x
up to degree p
.
poly_base(x = 2, p = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.