This function solves an ODE model using 'deSolve' and returns the output as a data frame.
solve_eqns(eqns, ics, times, parms)
name of the model to be solved. Examples include: SIR and SIR vaccination.
named numeric vector specifying the initial conditions i.e. the initial values of all model variables.
numerical vector indicating the time points at which the equation should be solved.
named numeric vector of parameter values.
data frame of model solutions in long format.