RK4 {genSEIR} | R Documentation |
Runge-Kutta 4th Order Method to Solve Differential Equation
Description
Runge-Kutta 4th Order Method to Solve Differential Equation
Usage
RK4(Y, A, K, dt)
Arguments
Y |
initial values for seven states |
A |
the matrix A that is found in: dY/dt = A*Y + F |
K |
the zero matrix for the seven states |
dt |
the time step. This oversamples time to ensure that the algorithm converges |
Value
ordinary differential equation result for the seven states
Author(s)
Selcuk Korkmaz, selcukorkmaz@gmail.com
References
See Also
[Package genSEIR version 0.1.1 Index]