This helper function extracts the probability of a match - given the parameters n,p,o,r - from the data frame returned by `summarize_samples(smples)`.
Examples
prop_match(smples_tbl, n_colleagues)
#> Error in mutate(summarise(group_by(mutate(smples_tbl, Freq = replace_na(Freq, 0)), we_found_slot = factor(Freq >= n_colleagues, levels = c(FALSE, TRUE)), .drop = FALSE), n_matches = sum(n_matches)), prop_matches = n_matches/sum(n_matches)): could not find function "mutate"