Description Usage Arguments See Also Examples
Calculate probability for getting certain proportion of categories with at least m constructs
1 | calc_probabilities(r, n, ms, min.props = c(0.9, 0.95, 0.99))
|
r |
A dataframe. The result returned from |
n |
Vector of n for which to calculate probabilities. |
ms |
minimal number of constructs in each category |
min.props |
Proportion of categores to contain at least m constructs. |
Other Utilities: expected_frequencies
,
prob_categories
1 2 3 4 5 | prob <- dexp(1:30, .05)
n <- seq(10, 80, by = 20)
r <- sim_n_persons_x_times_many_n(prob, n, a = 7, times = 100)
dd <- calc_probabilities(r, n, ms=1:5, min.props = c(0.9, .95, 1))
head(dd)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.