read_vpc: Read in VPC data

View source: R/read_vpc.R

read_vpcR Documentation

Read in VPC data

Description

Read in VPC data

Usage

read_vpc(sim, obs, psn_folder, software, sim_cols, obs_cols, verbose = FALSE)

Arguments

sim

this is usually a data.frame with observed data, containing the independent and dependent variable, a column indicating the individual, and possibly covariates. E.g. load in from NONMEM using read_table_nm. However it can also be an object like a nlmixr or xpose object

obs

a data.frame with observed data, containing the independent and dependent variable, a column indicating the individual, and possibly covariates. E.g. load in from NONMEM using read_table_nm

psn_folder

instead of specifying "sim" and "obs", specify a PsN-generated VPC-folder

software

name of software platform using (e.g. nonmem, phoenix)

sim_cols

list for mapping simulation data columns, e.g. 'list(dv = "DV", id = "ID", idv = "TIME", pred="PRED")'

obs_cols

list for mapping observation data columns, e.g. 'list(dv = "DV", id = "ID", idv = "TIME", pred="PRED")'

verbose

show debugging information (TRUE or FALSE)

Value

A list with names of "sim", "obs", "software", and "cols"


ronkeizer/vpc documentation built on May 11, 2023, 11:09 p.m.