CommencerCommencer gratuitement

Grouping and nesting

Let's practice nesting data frames, getting familiar with the output, and computing on nested data frames.

Cet exercice fait partie du cours

Visualizing Big Data with Trelliscope in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

library(dplyr)
library(tidyr)

# Nest stocks by symbol
by_symbol <- stocks %>%
  ___ %>%
  ___
Modifier et exécuter le code