In R, type the assignment that reads orders.csv from the working directory into a data frame named orders.
In R, type the assignment that reads orders.csv from the working directory into a data frame named orders.
Answer
orders <- read.csv("orders.csv")
header = TRUE and sep = "," are the defaults. The result is the 12 × 6 data frame; str(orders) in the next lesson shows each column's type.