Validate and prepare data sets for simulation.
Validate and prepare idata data sets for simulation.
valid_data_set(x, ...)# S3 method for default
valid_data_set(x, ...)
# S3 method for data.frame
valid_data_set(x, m = NULL, verbose = FALSE,
quiet = FALSE, ...)
valid_idata_set(x, verbose = FALSE, quiet = FALSE, ...)
# S3 method for matrix
valid_data_set(x, verbose = FALSE, ...)
data.frame or matrix
additional arguments
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
.