The function reads in NONMEM table files produced from the $SIM line
in a NONMEM model file.
read_nm_table(
nm_table,
only_obs = FALSE,
method = "default",
quiet = TRUE,
sim_num = FALSE,
sim_name = "NSIM"
)Returns a data frame of the simulated table with an added column for
the simulation number. The data frame is given class c("tbl_df",
"tbl", "data.frame") for easy use with dplyr.
The NONMEM table file to read. A text string.
Should the non-observation lines in the data set be removed?
Currently filtered using the expected MDV column. TRUE or
FALSE.
The methods to use for reading the tables, Can be "readr_1", "readr_2", readr_3" or "slow".
Should the error message be verbose or not?
Should a simulation number be added to simulation tables?
What name should one use to name the column of the simulation number?
Currently the function expects the $TABLE to have a header for each
new simulation. This means that the NOHEADER option or
ONEHEADER option in the table file is not allowed.
Other data functions:
add_transformed_columns,
change_graphical_parameters,
change_misc_parameters,
compute.cwres(),
data.checkout(),
data_extract_or_assign,
db.names(),
export.graph.par(),
export.variable.definitions(),
import.graph.par(),
import.variable.definitions(),
make.sb.data(),
nsim(),
par_cov_summary,
read.TTE.sim.data(),
read.nm.tables(),
read_NM_output,
simprazExample(),
tabulate.parameters(),
xlabel(),
xpose.data,
xpose.print(),
xpose4-package,
xsubset()