แนวทางปฏิบัติที่ดีที่สุดสำหรับการสร้างภาพข้อมูลใน R
Nick Strayer
Instructor

Beeswarm plots

Violin plots

geom_beeswarm() ในแพ็กเกจ ggbeeswarmlibrary(ggbeeswarm)
ggplot(data, aes(y = y, x = group)) +
geom_beeswarm(color = 'steelblue')



geom_boxplot() ด้วย geom_violin()ggplot(data, aes(y = y, x = group)) +
geom_violin(fill = 'steelblue')



แนวทางปฏิบัติที่ดีที่สุดสำหรับการสร้างภาพข้อมูลใน R