Pular para o conteúdo principal
eLearner.app
R TIDYVERSE EXPEDITION

Expedição R Tidyverse: exploração de dados

Atravesse a tempestade do data lake! Escreva código dplyr para manipular e agregar tabelas de dados com eficiência.

Mission Directive

Dado o quadro de dados 'planetas', filtre as linhas para manter apenas os planetas onde o tipo é 'Terrestre' e o diâmetro é maior que 10.000. Por fim, selecione apenas as colunas de nome e diâmetro, salvando o resultado em 'res'. Use o operador pipe %>% para encadear operações.

Input Dataset (planets)
nametypediameter
MercuryTerrestrial4879
VenusTerrestrial12104
EarthTerrestrial12756
MarsTerrestrial6792
JupiterGas Giant142984
SaturnGas Giant120536
UranusIce Giant51118
NeptuneIce Giant49528
Expedition Flow Monitor
filterselectINOUT

Stuck?

Learn the fundamental concepts in the R course to solve this challenge.

R PIPELINE EDITOR

Use dplyr and the pipe operator (%>% or |>) to transform data.

Carregando editor…