with symbols denoting extreme values. The choice for the fitted straight resistant line showing the relationship between the two variables is Tukey’s resistance line. The main components of the plot are an inne
Histograms, for sure, provide more detail, but they may obscure the larger picture across the groups or variables. There are two other main types of charts that are a compromise between histograms and boxplots. Population pyramids are great for pairwise comparisons, and vase plots expose the ...
Two different grouping variables are used:doseon x-axis andsuppas fill color (legend variable). The space between the grouped box plots is adjusted using the functionposition_dodge(). e2 <- e + geom_boxplot(aes(fill = supp), position = position_dodge(0.9) ) + scale_fill_manual(values ...
It saves both time and space, as you can show relationships between variables as a scatter plot, and on the margins, you can also show the distribution of each variable. Now, ggplot doesn't ship by default with this functionality, so you'll have to install an additional package - ggExtra...