solve_eqns {shinySIR} | R Documentation |
Solve equations
Description
This function solves an ODE model using 'deSolve' and returns the output as a data frame.
Usage
solve_eqns(eqns, ics, times, parms)
Arguments
eqns |
name of the model to be solved. Examples include: SIR and SIR vaccination. |
ics |
named numeric vector specifying the initial conditions i.e. the initial values of all model variables. |
times |
numerical vector indicating the time points at which the equation should be solved. |
parms |
named numeric vector of parameter values. |
Value
data frame of model solutions in long format.
[Package shinySIR version 0.1.2 Index]