~/ learn/ afm-112/ cards/ Position, range, drop, condition — and R is 1-based
1 of 10

In R, type the expression that returns the second and third elements of amount4.

In R, type the expression that returns the second and third elements of amount4.

Answer

amount4[2:3]

2:3 is the position vector 2 3; the result is [1] 180 760. Positions count from 1.

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/6713363d-d190-415c-b34a-12948eca6466/flashcard utf-8 LF