| dose_func | R Documentation |
This function creates a data.frame that can be used for events of a deSolve simulation
dose_func(cmt, value, tinf, tau, ndose, times)
cmt |
number of compartment or differential equation where the dosing should be given |
value |
the value of the dosing that should be given |
tinf |
in case value is set an infusion is assumed with tinf as infusion time |
tau |
dosing interval to be used |
ndose |
number of doses to be used |
times |
In case tau and ndose cannot be used (unequal dosing), this parameter can be used to set times of dosing (e.g c(0,24,168)) |
a data frame that can be used as an event dataset within deSolve
Richard Hooijmaijers
dose_func(8,100,tau=48,ndose=5,tinf=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.