~/ learn/ afm-112/ cards/ [1] is an index, not a value
1 of 8

In R, type the expression for the mean of the first four order amounts.

In R, type the expression for the mean of the first four order amounts.

Answer

(420 + 180 + 760 + 250) / 4

Prints [1] 402.5. The brackets force the sum before the division; without them only 250 is divided.

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/7f8d2e56-724f-43b5-8c38-d798303280bf/flashcard utf-8 LF