tidy_combine_distributions {TidyDensity} | R Documentation |
Combine Multiple Tidy Distributions of Different Types
Description
This allows a user to specify any n
number of tidy_
distributions that can be combined into a single tibble. This is the preferred
method for combining multiple distributions of different types, for example
a Gaussian distribution and a Beta distribution.
This generates a single tibble with an added column of dist_type that will give the distribution family name and its associated parameters.
Usage
tidy_combine_distributions(...)
Arguments
... |
The |
Details
Allows a user to generate a tibble of different tidy_
distributions
Value
A tibble
Author(s)
Steven P. Sanderson II, MPH
See Also
Other Multiple Distribution:
tidy_multi_single_dist()
Examples
tn <- tidy_normal()
tb <- tidy_beta()
tc <- tidy_cauchy()
tidy_combine_distributions(tn, tb, tc)
## OR
tidy_combine_distributions(
tidy_normal(),
tidy_beta(),
tidy_cauchy(),
tidy_logistic()
)
[Package TidyDensity version 1.5.0 Index]