advan_create_data {PKPDsim}R Documentation

Create ADVAN-style dataset

Description

Create ADVAN-style dataset

Usage

advan_create_data(
  regimen,
  parameters,
  cmts = 5,
  t_obs = NULL,
  covariates = NULL,
  covariate_model = NULL
)

Arguments

regimen

PKPDsim regimen

parameters

list of parameters

cmts

number of compartments, minimum is 1. Default is 5, which is enough for most linear PK models. It is OK to have more compartments available than are actually being used.

t_obs

add observation timepoints to dataset

covariates

covariate list

covariate_model

covariate model equations, written in C

Value

Data frame of ADVAN-style data


[Package PKPDsim version 1.3.0 Index]