R/exogeneous-null.R

Defines functions make_parameters_exogenous_null ExogenousForcing.null

Documented in ExogenousForcing.null make_parameters_exogenous_null

# specialized methods for the null model of exogenous forcing

#' @title Modify parameters due to exogenous forcing
#' @description Implements [ExogenousForcing] for the null model of exogenous forcing (do nothing)
#' @inheritParams ExogenousForcing
#' @return none
#' @export
ExogenousForcing.null <- function(t, y, pars) {}

#' @title Make parameters for the null model of exogenous forcing (do nothing)
#' @param pars an [environment]
#' @return none
#' @export
make_parameters_exogenous_null <- function(pars) {
  stopifnot(is.environment(pars))
  EXpar <- list()
  class(EXpar) <- 'null'
  pars$EXpar <- EXpar
}

Try the exDE package in your browser

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

exDE documentation built on Nov. 18, 2022, 5:08 p.m.