Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

mrgsolve (version 0.8.12)

valid_data: Validate and prepare data sets for simulation

Description

Validate and prepare data sets for simulation

Validate and prepare idata data sets for simulation

Usage

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)

Arguments

x

data.frame or matrix

m

a model object

verbose

logical

quiet

if TRUE, messages will be suppressed

Value

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.

See Also

idata_set, data_set, valid_data_set