tidy_multi_single_dist {TidyDensity} | R Documentation |
Generate Multiple Tidy Distributions of a single type
Description
Generate multiple distributions of data from the same tidy_
distribution function.
Usage
tidy_multi_single_dist(.tidy_dist = NULL, .param_list = list())
Arguments
.tidy_dist |
The type of |
.param_list |
This must be a |
Details
Generate multiple distributions of data from the same tidy_
distribution function. This allows you to simulate multiple distributions of
the same family in order to view how shapes change with parameter changes. You
can then visualize the differences however you choose.
Value
A tibble
Author(s)
Steven P. Sanderson II, MPH
See Also
Other Multiple Distribution:
tidy_combine_distributions()
Examples
tidy_multi_single_dist(
.tidy_dist = "tidy_normal",
.param_list = list(
.n = 50,
.mean = c(-1, 0, 1),
.sd = 1,
.num_sims = 3,
.return_tibble = TRUE
)
)
tidy_multi_single_dist(
.tidy_dist = "tidy_normal",
.param_list = list(
.n = 50,
.mean = c(-1, 0, 1),
.sd = 1,
.num_sims = 3,
.return_tibble = FALSE
)
)
[Package TidyDensity version 1.5.0 Index]