Sezione 1. Capitolo 8
single
Challenge: Grouped Data
Scorri per mostrare il menu
Compito
Scorri per iniziare a programmare
Group a tibble by a categorical variable and calculate the mean of a numeric column for each group.
- Group the tibble
dfby the column specified bygroup_col. - For each group, calculate the mean of the column specified by
num_col. - Return a tibble with one row per group and a column named
mean_valuecontaining the mean for each group.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 8
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione