knitr::opts_chunk$set(echo = TRUE)
This module provides the following functionalities...
This is the first version of this module.
This module requires the following packages ... and external dependecies such as ...
This event does...
Some technical details of the inner working, assumptions, and settings of the event function that shouldn't bother the user at their first glance.
event_{{{module}}}_eventname1 <- modules::use(here::here("{{{module_path}}}/eventname.R"))
event_{{{module}}}_eventname1
# For example model <- list(x1 = list(yes = 0.5, no = 0.5), x2 = data.table(sex = c("male", "female"), prob = c(0.2, 0.1)))
event_{{{module}}}_eventname1 <- modules::use(here::here("{{{module_path}}}/eventname.R")) create_toy_world() world %>% event_{{{module}}}_eventname1$run(world = ., model = model)
This event does...
Some technical details of the inner working, assumptions, and settings of the event function that shouldn't bother the user at their first glance.
event_{{{module}}}_eventname2 <- modules::use(here::here("{{{module_path}}}/eventname.R"))
event_{{{module}}}_eventname2
# For example model <- list(x1 = list(yes = 0.5, no = 0.5), x2 = data.table(sex = c("male", "female"), prob = c(0.2, 0.1)))
event_{{{module}}}_eventname2 <- modules::use(here::here("{{{module_path}}}/eventname.R")) create_toy_world() world %>% event_{{{module}}}_eventname2$run(world = ., model = model)
Here are some known issues
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.