parse_multi_spec {heemod} | R Documentation |
Specify Inputs for Multiple Models From a Single File
Description
Parse a data.frame
containing specifications for
multiple models into a list of inputs required for each
model.
Usage
parse_multi_spec(multi_spec, split_on = ".model", group_vars)
Arguments
multi_spec |
|
split_on |
|
group_vars |
|
Details
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...
Value
A list of data frames, one for each value of
split_on.
[Package heemod version 1.0.1 Index]