Grouping and nesting
Let's practice nesting data frames, getting familiar with the output, and computing on nested data frames.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Visualizing Big Data with Trelliscope in R
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
library(dplyr)
library(tidyr)
# Nest stocks by symbol
by_symbol <- stocks %>%
___ %>%
___