R/modelFun.R

Defines functions modelFun

Documented in modelFun

#'Model function
#'
#' @param Y time vector
#' @param A the matrix A that is found in: dY/dt = A*Y + F
#' @param K the zero matrix for the seven states
#'
#' @return No return value, called for side effects

modelFun = function(Y, A, K) {A %*% Y + K}

Try the genSEIR package in your browser

Any scripts or data that you put into this service are public.

genSEIR documentation built on July 12, 2021, 5:07 p.m.