~/ learn/ afm-112/ cards/ Look, then check
1 of 10

In R, type the call that draws one box plot of amount per channel from the orders frame.

In R, type the call that draws one box plot of amount per channel from the orders frame.

Answer

boxplot(amount ~ channel, data = orders)

The formula reads "amount by channel"; data = orders lets the column names stand alone. Two boxes side by side, with 1320 as an outlier point.

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/1d637167-c58d-497c-a60f-505e5466101d/flashcard utf-8 LF