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

single

bookChallenge: Grouped Data

Pyyhkäise näyttääksesi valikon

Tehtävä

Pyyhkäise aloittaaksesi koodauksen

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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 8
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

some-alt