R/ode_em.R

Defines functions ode_em

Documented in ode_em

#' Euler-Maruyama method (EM)
#'
#' Euler-Maruyama method implementation of the \acronym{ODE}.
#'
#' @param tau tau parameter
#' @param noise_strength noise_strength parameter
#'
#' @return an object of to be used by [ssa()].
#'
#' @export
ode_em <- function(tau = 0.01, noise_strength = 2) {
  ssa_method(
    name = "EM",
    class = "ODE_EM",
    params = list(tau = tau, noise_strength = noise_strength),
    factory = make_ode_em
  )
}

Try the GillespieSSA2 package in your browser

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

GillespieSSA2 documentation built on Jan. 24, 2023, 1:10 a.m.