simdist | R Documentation |
Simulate multiple hospitalization curves
simdist(
nreps,
seed = 1971,
gimme = NULL,
check = FALSE,
check_nrow = 10,
sim_args = list()
)
nreps |
Numeric. Number of hypothetical hospitalization curves to generate. |
seed |
Numeric. Set random number generator seed. |
gimme |
Character. Can take three values: NULL, "everything", or "hc". NULL returns
a data.frame containing the simulated hospitalization curves, labeled with a
run id; "everything" returns both the full results of |
check |
Logical. Print preview of data.table containing labeled hypothetical hospitalization curves. |
sim_args |
List. A list of arguments to pass to |
nrow |
Numeric. If |
A set of simulated hospitalization curves numbering nreps
.
simcrv
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.