| expand_basis_columns | R Documentation |
Expand a basis matrix into individual columns in a data frame
expand_basis_columns(data, mat, colnames)
data |
Data frame to add columns to |
mat |
Matrix to expand |
colnames |
Character vector of column names |
Data frame with added columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.