~/ learn/ afm-112/ cards/ A vector is a column
1 of 10

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.

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/2270a971-773d-43fd-9d95-c1c72fdac053/flashcard utf-8 LF