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

suppressWarnings( fig_preferred_method() )