# to see an example of proper JSON input, run the following
library(jsonlite)
t <- 10 # number of days to simulate
par <- list(
"stochastic" = FALSE,
"lambda" = rpois(n = t, lambda = 10)
)
toJSON(par, pretty = TRUE)
Run the code above in your browser using DataLab