Intermediate R
Q43 / 100

In the magrittr/dplyr pipe "%>%", what does "df %>% filter(x > 1) %>% select(y)" mean?

Correct! Well done.

Incorrect.

The correct answer is B) The result of df is passed as the first argument to filter(), then that result is passed to select(), chaining operations left to right

B

Correct Answer

The result of df is passed as the first argument to filter(), then that result is passed to select(), chaining operations left to right

Explanation

The pipe operator passes the left-hand side as the first argument of the right-hand function, enabling readable left-to-right chains of data transformations.

Progress
43/100