sim_ode_shiny: Simulate ODE and create a Shiny app

Description Usage Arguments Value See Also

Description

Creates a VPC plot from observed and simulation data

Usage

1
2
3
4
sim_ode_shiny(name = "", ode = NULL, dde = NULL, parameters = NULL,
  t_obs = NULL, omega = NULL, omega_type = "exponential", n_ind = 1,
  regimen = NULL, A_init = NULL, obs_step_size = 1, int_step_size = 0.5,
  t_max = NULL, shiny_folder = "~/shiny-pkpd")

Arguments

name

of function describing the ODE system (as string)

ode

function describing the ODE system

dde

function describing the DDE system (not implemented yet)

parameters

model parameters

t_obs

vector of observation times, only output these values

omega

vector describing the lower-diagonal of the between-subject variability matrix

omega_type

exponential or normal

n_ind

number of individuals to simulate

regimen

a regimen object created using the regimen() function

A_init

vector with the initial state of the ODE system

obs_step_size

the step size between the observations

int_step_size

the step size for the numerical integrator

t_max

maximum simulation time, if not specified will pick the end of the regimen as maximum

shiny_folder

folder in which to run Shiny app

Value

a list containing calculated VPC information, and a ggplot2 object

See Also

sim_ode


ronkeizer/PKPDsimShiny documentation built on May 27, 2019, 1:50 p.m.