メインコンテンツにスキップ
eLearner.app
R TIDYVERSE EXPEDITION

R Tidyverse Expedition: データ探索

データレイクの嵐を乗り越えましょう! dplyr コードを作成して、データ テーブルを効率的に操作および集計します。

Mission Directive

「惑星」データ フレームを指定して、行をフィルター処理して、タイプが「Terrestrial」で直径が 10000 を超える惑星のみを保持します。最後に、名前と直径の列のみを選択し、結果を「res」に保存します。パイプ演算子 %>% を使用して操作を連鎖させます。

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.

エディターを読み込み中…