R/simulate_HM.R

Defines functions simHM

Documented in simHM

#' It runs the chosen hybrid model.
#' 
#' @description  \code{simHM} is generic function that calls a method to run the
#'               simulation base on object's class
#' 
#' @param x of a specific class of model.
#' 
#' @inheritParams hybridModel
#' 
#' @return A \code{\link{data.frame}} with the number of individuals through
#'         time per node, per state and per simulation.
#'
#' @references  .
#' @seealso \link{GillespieSSA}.
#' @export
#' @import foreach
simHM <- function(x, network, sim.number, num.cores = 'max', fill.time) UseMethod("simHM")

Try the hybridModels package in your browser

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

hybridModels documentation built on July 1, 2020, 7:51 p.m.