Distribution of self-reported preferences for statistical methods

fig_preferred_method(filter_func = function(data, ...) return(data),
  print_plot = TRUE)

Arguments

filter_func

function to filter the data before plotting

print_plot

(logical) set to FALSE to prevent printing the ggplot object

Value

Invisibly returns the ggplot object

Examples

fig_preferred_method()
#> Warning: Factor `preferred` contains implicit NA, consider using `forcats::fct_explicit_na`