parse_multi_spec {heemod} | R Documentation |
Parse a data.frame
containing specifications for
multiple models into a list of inputs required for each
model.
parse_multi_spec(multi_spec, split_on = ".model", group_vars)
multi_spec |
|
split_on |
|
group_vars |
|
Each combination of values of the columns specified by
group_vars
should either be unique in the file (in
which case it will be replicated for all values of
split_on
), or must be repeated as many times as
unique values of split_on
.
split_on
is usually the model name.
group_var
can be the state names, or from and to
lines for a matrix definition...
A list of data frames, one for each value of
split_on.