เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Plotting simple features with geom_sf()

The newest version of ggplot2 includes a geom_sf() function to plot simple features objects natively. This allows you to make maps using familiar ggplot2 syntax! In this exercise, you'll walk through the process of creating a map with ggplot2 step-by-step.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Analyzing US Census Data in R

ดูคอร์ส

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Plot the legislative district boundaries
ggplot(___) + 
  ___()
แก้ไขและรันโค้ด