Thực hành tốt nhất về trực quan hóa trong R
Nick Strayer
Instructor

Biểu đồ beeswarm

Biểu đồ violin

geom_beeswarm() trong gói ggbeeswarm.library(ggbeeswarm)
ggplot(data, aes(y = y, x = group)) +
geom_beeswarm(color = 'steelblue')



geom_boxplot() bằng geom_violin().ggplot(data, aes(y = y, x = group)) +
geom_violin(fill = 'steelblue')



Thực hành tốt nhất về trực quan hóa trong R