prob_categories {gridsampler}R Documentation

Probability for certain degree of saturation

Description

Calculate probability for getting certain proportion of categories with at least m constructs

Usage

prob_categories(r, m, min.prop = 1)

Arguments

r

A dataframe. The result returned from sim_n_persons_x_times.

m

minimal number of constructs in each category

min.prop

Proportion of categores to contain at least m constructs.

See Also

Other Utilities: calc_probabilities, expected_frequencies

Examples

r <- sim_n_persons_x_times(dexp(1:30, rate = .05), n = 50, a = 5:7, times = 100, progress = "none")
prob_categories(r, 4, min.prop = .9)


[Package gridsampler version 0.6 Index]