Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Functional Data Analysis | Functional Programming in Practice
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Functions and Functional Programming in R

bookChallenge: Functional Data Analysis

Tâche

Swipe to start coding

Pair up each element from the names and ages vectors, then filter out any pairs where the age is less than 18.

  • Use Map to combine names and ages into a list of pairs, where each pair contains a name and the corresponding age.
  • Use Filter to keep only those pairs where the age is 18 or above.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 6
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

close

bookChallenge: Functional Data Analysis

Glissez pour afficher le menu

Tâche

Swipe to start coding

Pair up each element from the names and ages vectors, then filter out any pairs where the age is less than 18.

  • Use Map to combine names and ages into a list of pairs, where each pair contains a name and the corresponding age.
  • Use Filter to keep only those pairs where the age is 18 or above.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 6
single

single

some-alt