View source: R/add-functions.R
make_X | R Documentation |
Create design matrix from a suitable object
make_X(object, ...)
## Default S3 method:
make_X(object, newdata, ...)
## S3 method for class 'gam'
make_X(object, newdata, ...)
object |
A suitable object from which a design matrix can be generated. Often a model object. |
newdata |
A data frame from which design matrix will be constructed |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.