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.