Question
What is vectorization in R?
Select an option. Your answer will be checked instantly.
Correct Answer: C. Applying an operation to an entire vector without an explicit element-by-element loop
Explanation:
Many R operations automatically work across every element of a vector.
Vectorized code is usually clearer and often faster than manual looping.
Leave a Reply