Finds input data and checks compatibility with Nonmem control stream and runs NMcheckData. Don't call this function directly - use the file argument in NMcheckData instead.
NMcheckDataFile(
file,
col.row,
col.id = "ID",
formats.read = "csv",
quiet = FALSE,
file.mod,
dir.data,
as.fun,
use.rds,
...
)A list of diagnostics
a model file (input or output control stream)
row identifier
subject identifier
Prioritized input data file formats to look
for and use if found. Default is c("csv") which means
rds and fst will _not_ be used. Typically only
the csv file is wanted because we want to test the input data
as read by Nonmem.
Keep quiet? Default is FALSE.
How to find the input control stream if you are using the output control stream.
The data directory can only be read from the control stream (.mod) and not from the output file (.lst). So if you only have the output control stream, use dir.data to tell in which directory to find the data file. If dir.data is provided, the .mod file is not used at all.
The function to run results through before returning them.
Deprecated. Use formats.read instead.
passed to NMcheckData