Planet temperature & distance to the Sun
The intensity of light radiated by a light source follows an inverse square relationship with the distance it has traveled.
You wonder if you could observe this trend in the temperature of the planets in our Solar System given their distance to the Sun. You'll use the planet_df dataset from the devstronomy project to investigate this.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Reshaping Data with tidyr
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
planet_df %>%
# Give each planet variable its own column
___