View source: R/functions_tprs.R
arrangeTPRS | R Documentation |
Rearrange the columns of the TPRS basis
arrangeTPRS(tprs, intercept = FALSE)
tprs |
Matrix of TPRS basis values |
intercept |
Logical indicator of whether or not to remove the intercept column |
This function takes TPRS basis values, as created by the mgcv
package, and rearranges them. The last two columns are moved to the left of the matrix and the third-from last column, which corresponds to the intercept, is optionally removed.
computeTPRS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.