powered by
Visual comparison of bootstrap selection frequencies by selector. Requires ggplot2.
ggplot2
plot_compare_freq(freq_tab)
A ggplot object when ggplot2 is available; otherwise draws a base R image.
ggplot
Data frame as returned by compare_selectors_bootstrap().
compare_selectors_bootstrap()
freq_tab <- data.frame( selector = rep(c("AIC", "BIC"), each = 3), variable = rep(paste0("x", 1:3), times = 2), freq = c(0.85, 0.2, 0.45, 0.75, 0.35, 0.3) ) plot_compare_freq(freq_tab)
Run the code above in your browser using DataLab