Skip to contents

Plot the number of Doodle matches

Usage

plot_matches(smples_tbl, n_colleagues, p, o, dep)

Arguments

smples_tbl

the output of the function `summarize_samples`

n_colleagues

number of colleagues addressed

p

number of picked options

o

number of available options

dep

degree of dependency between colleagues

Value

ggplot

Examples

plot_matches(smples_tbl, n_colleagues, p, o, dep)
#> Error in ggplot(summarise(group_by(mutate(smples_tbl, Freq = replace_na(Freq,     -99)), we_found_slot = factor(Freq >= n_colleagues, levels = c(FALSE,     TRUE)), .drop = FALSE), n_matches = sum(n_matches), prop_matches = sum(prop_matches))): could not find function "ggplot"