Validate and prepare data sets for simulation
Validate and prepare idata data sets for simulation
valid_data_set(x, m = NULL, verbose = FALSE, quiet = FALSE)valid_idata_set(x, verbose = FALSE, quiet = FALSE)
valid_data_set.matrix(x, verbose = FALSE)
data.frame or matrix
a model object
logical
if TRUE
, messages will be suppressed
a matrix with non-numeric columns dropped; if x is a
data.frame with character cmt
column comprised of valid
compartment names and m
is a model object,
the cmt
column will be converted to the corresponding
compartment number.
A numeric matrix with class valid_idata_set
.