Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Filter and Sort Data | R Data Frames Tutorial
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Working with Data Structures in R

bookChallenge: Filter and Sort Data

Tehtävä

Swipe to start coding

Filter a data frame to show only students who passed, and sort the results by their scores.

  • Select only the rows in df where the passed column is TRUE.
  • Sort the resulting rows in descending order based on the score column.
  • Return the filtered and sorted data frame.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 6
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

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

close

bookChallenge: Filter and Sort Data

Pyyhkäise näyttääksesi valikon

Tehtävä

Swipe to start coding

Filter a data frame to show only students who passed, and sort the results by their scores.

  • Select only the rows in df where the passed column is TRUE.
  • Sort the resulting rows in descending order based on the score column.
  • Return the filtered and sorted data frame.

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 2. Luku 6
single

single

some-alt