Description Usage Arguments Details Value Author(s)
Mapping of groupvar to models run
1 | groupvar_to_model(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 m1, m2 and m3
run for country c1, and models m1, m2, m3, m4 run
for country c2. For this example, groupvar_to_model
returns
a named list where names are formed by concatenating models
and elements are countries for which a particular set of models has been run.
(m1_m2_m3 = c1, m1_m2_m3_m4 = c2)
list
Sangeeta Bhatia
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.