การแสดงภาพในมิติที่สูงขึ้น

การวิเคราะห์เชิงสำรวจข้อมูลใน R

Andrew Bray

Assistant Professor, Reed College

กราฟสำหรับ 3 ตัวแปร

ggplot(cars, aes(x = msrp)) +
  geom_density() +
  facet_grid(pickup ~ rear_wheel)

ch2_4.005.png

การวิเคราะห์เชิงสำรวจข้อมูลใน R

กราฟสำหรับ 3 ตัวแปร

ggplot(cars, aes(x = msrp)) +
  geom_density() +
  facet_grid(pickup ~ rear_wheel, labeller = label_both)

ch2_4.008.png

การวิเคราะห์เชิงสำรวจข้อมูลใน R

กราฟสำหรับ 3 ตัวแปร

ggplot(cars, aes(x = msrp)) +
  geom_density() +
  facet_grid(pickup ~ rear_wheel, labeller = label_both)
table(cars$rear_wheel, cars$pickup)
      FALSE TRUE
FALSE   306   12
TRUE     98   12
การวิเคราะห์เชิงสำรวจข้อมูลใน R

กราฟในมิติที่สูงขึ้น

  • รูปร่าง

  • ขนาด

  • สี

  • ลวดลาย

  • การเคลื่อนไหว

  • แกน x

  • แกน y

การวิเคราะห์เชิงสำรวจข้อมูลใน R

มาฝึกกันเถอะ!

การวิเคราะห์เชิงสำรวจข้อมูลใน R

Preparing Video For Download...