fig_preferred_method.Rd
Distribution of self-reported preferences for statistical methods
fig_preferred_method(filter_func = function(data, ...) return(data), print_plot = TRUE)
filter_func | function to filter the data before plotting |
---|---|
print_plot | (logical) set to FALSE to prevent printing the ggplot object |
Invisibly returns the ggplot object
fig_preferred_method()#> Warning: Factor `preferred` contains implicit NA, consider using `forcats::fct_explicit_na`