Description Usage Arguments Value Examples
Run dmcSim with range of input parameters.
1 |
params |
(list of parameters to dmcSim) |
printInputArgs |
Print DMC input arguments to console |
printResults |
Print DMC output to console |
dmcSims returns a list of objects of class "dmcsim"
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Example 1
params <- list(amp = seq(10, 20, 5), tau = c(50, 100, 150), nTrl = 50000)
dmc <- dmcSims(params)
plot(dmc[[1]]) # full combination 1
plot(dmc) # delta plots for all combinations
plot(dmc[c(1:3)]) # delta plots for specific combinations
# Example 2
params <- list(amp = seq(10, 20, 5), tau = seq(20, 40, 20), bnds = seq(50, 100, 25))
dmc <- dmcSims(params)
plot(dmc[[1]]) # combination 1
plot(dmc, ncol = 2) # delta plots for all combinations
plot(dmc[c(1:3)]) # delta plots for specific combinations
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.