Skip to contents

Clean / check the dataset before passing to model fitting tool

Usage

clean_modelfit_data(
  model,
  try_make_numeric = TRUE,
  data = NULL,
  verbose = TRUE
)

Arguments

model

pharmpy model object or NONMEM model code (character) or path to NONMEM model file.

try_make_numeric

should function try to turn character columns into numeric columns? If FALSE will just set all values to 0 (but retain column to avoid issues).

data

dataset (data.frame). Optional, can also be included in model object (if specified as pharmpy model object).

verbose

verbose output?

Value

TODO