Description Usage Arguments Details Value Author(s)
Mapping of models to groups for which they have been run
1 | model_to_groupvar(pred, groupvars)
|
pred |
data.frame with at least one column called model |
groupvars |
quoted variable names used to define groups within which models should be ranked. |
In some cases, we might not have the same set of models run for a grouping variable. For example, say the grouping variable is country, and we have Models M_1, M_2 and M_3 run for country C_1, and models M_1, M_2, M_3, M_4 run country C_2. For this example, this function will return the list m_1 = c_1, c_2, m_2 = c_1, c_1, m_3 = c_1, c_2, m_4 = c_2 This can be used to identify for which countries a give model has been run.
list
Sangeeta Bhatia
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.