Professional Documents
Culture Documents
Introduction To The R Language: Vectorized Operations
Introduction To The R Language: Vectorized Operations
Vectorized Operations
1/3
Vectorized Operations
Many operations in R are vectorized making code more efficient, concise, and easier to
read.
> x
> x
[1]
> x
[1]
> x
[1]
> y
[1]
> x
[1]
> x
[1]