Description Usage Details Value
View source: R/spflow-model-matrix_1.R
Internal functions to generate model matrices
1 | define_variable_roles(formula_parts, data_sources)
|
The function generates a list for each role c("Y_","G_","O_","D_","I_")
which indicates whether a variable in the design matrix is used as
c("norm", "sdm", "inst")
.
A list of lists, with information on the way variables are used in the model. (e.g. origin vs destination and the number of lags)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.