Create a complete shiny application for exploring dosing regimens given a (hardcoded) PK/PD model.
1 2 3 4 5 6 7 8 9 10
a string with a directory where to store the shiny
app, by default is
logical specifying whether to write messages as the
shiny app is generated. Defaults to
model name compiled and list of parameters sent to
List of statevars passed to to the
A PK/PD model is defined using
The function evaluates the following PK/PD model by default:
C2 = centr/V2; C3 = peri/V3; d/dt(depot) =-KA*depot; d/dt(centr) = KA*depot - CL*C2 - Q*C2 + Q*C3; d/dt(peri) = Q*C2 - Q*C3; d/dt(eff) = Kin - Kout*(1-C2/(EC50+C2))*eff;
This can be changed by the
To launch the shiny app, simply issue the
None, these functions are used for their side effects.
These functions create a simple, but working example of a
dosing regimen simulation web application. Users may want to
modify the code to experiment creating shiny applications for
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.