mrgsims_modify | R Documentation |
These functions modify the simulated data in an mrgsims object and return the modified object. Contrast with the functions in mrgsims_dplyr.
mutate_sims(.data, ...)
select_sims(.data, ...)
filter_sims(.data, ...)
.data |
a mrgsims object. |
... |
other arguments passed to the |
mrgsims_dplyr
out <- mrgsim(house(), events = ev(amt = 100))
filter_sims(out, time > 2)
mutate_sims(out, label = "abc")
select_sims(out, RESP, CP)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.