Seção 1. Capítulo 8
single
Challenge: Grouped Data
Deslize para mostrar o menu
Tarefa
Deslize para começar a programar
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 8
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo