| bb_design_matrix | R Documentation |
Build a raw polynomial design matrix with intercept
bb_design_matrix(x, degree)
x |
A numeric vector. |
degree |
Degree of the raw polynomial. |
A numeric matrix with columns 1, x, x^2, ..., x^degree.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.