Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Challenge: Grouped Data | Core R Data Structures for EDA
Essential R Data Structures for Exploratory Data Analysis
Sezione 1. Capitolo 8
single

single

bookChallenge: 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 df by the column specified by group_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_value containing the mean for each group.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 8
single

single

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

some-alt