Skip to content

Instantly share code, notes, and snippets.

@MJacobs1985
Created November 10, 2022 13:18
Show Gist options
  • Save MJacobs1985/ad19c99b3efc105c776bb46e0dacf841 to your computer and use it in GitHub Desktop.
Save MJacobs1985/ad19c99b3efc105c776bb46e0dacf841 to your computer and use it in GitHub Desktop.
DataExplorer::plot_density(total, ggtheme=theme_bw())
DataExplorer::plot_boxplot(total[,c(12,15,19,20,23,26,29,32,35,38,42)], by="Gender", ggtheme=theme_bw())
DataExplorer::plot_boxplot(total[,c(12,15,19,20,23,26,29,32,35,38,55)], by="Opioid_spec", ggtheme=theme_bw())
DataExplorer::plot_boxplot(total[,c(12,15,19,20,23,26,29,32,35,38,52)], by="Non_opioid_spec", ggtheme=theme_bw())
DataExplorer::plot_boxplot(total[,c(12,15,19,20,23,26,29,32,35,38,43)], by="Performance_status_at_consultation", ggtheme=theme_bw())
DataExplorer::plot_boxplot(total[,c(12,15,19,20,23,26,29,32,35,38,47)], by="Surgery_prior_to_consultation", ggtheme=theme_bw())
DataExplorer::plot_boxplot(total[,c(12,15,19,20,23,26,29,32,35,38,48)], by="Chemotherapy_prior_to_consultation", ggtheme=theme_bw())
DataExplorer::plot_boxplot(total[,c(12,15,19,20,23,26,29,32,35,38,79)], by="timef", ggtheme=theme_bw())
DataExplorer::plot_boxplot(total[,c(15,26,32,35,79)], by="timef", ggtheme=theme_bw())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment