R/vc-null.R

Defines functions make_parameters_vc_null VectorControl.null

Documented in make_parameters_vc_null VectorControl.null

# specialized methods for the null model of vector control

#' @title Modify baseline values due to vector control
#' @description Implements [VectorControl] for the null model of vector control (do nothing)
#' @inheritParams VectorControl
#' @return a named [list]
#' @export
VectorControl.null <- function(t, y, pars, MosyBehavior) {
  return(MosyBehavior)
}

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

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.