mathexpr | R Documentation |
Mathematical expression
mathexpr(expr)
expr |
User defined mathematial expression. he expression will be processed by muparser library which offers a wide variety of operators. Visit muparser website (https://beltoforion.de/en/muparser/features.php) to see full list of available operators. |
a Distribution object for simulator
transitions <- list("S->I"="beta*S/N")
transitions <- denim_dsl({S->I=beta*S/N})
# definition for parameters in the expression required
params <- c(N = 1000, beta = 0.3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.