In R, type the line that builds the vector of the first four order amounts.
In R, type the line that builds the vector of the first four order amounts.
Answer
amount4 <- c(420, 180, 760, 250)
c() combines values into one vector. Printing amount4 gives [1] 420 180 760 250; length(amount4) is 4.