| dfRowsToList {ParamHelpers} | R Documentation |
Please note that (naturally) the columns of df have to be of the correct
type w.r.t. the corresponding parameter. The only exception are integer parameters
where the corresponding columns in df are allowed to be numerics.
And also see the argument enforce.col.types as a way around this restriction.
| numeric(vector) | numeric |
| integer(vector) | integer |
| discrete(vector) | factor (names of values = levels) |
| logical(vector) | logical
|
Dependent parameters whose requirements are not satisfied are represented by a scalar NA in the output.
dfRowsToList(df, par.set, enforce.col.types = FALSE, ...) dfRowToList(df, par.set, i, enforce.col.types = FALSE, ...)
df |
[ |
par.set |
[ |
enforce.col.types |
[ |
... |
[any] |
i |
[ |
[list]. Named by parameter ids.