View source: R/F_getModelMat.R
getModelMat | R Documentation |
A function to construct a model matrix of a certain degree
getModelMat(y, degree)
y |
the variable |
degree |
the degree |
A model matrix with degree+1 columns and as many rows as lenght(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.