Explain the concept of vectorization in R.

Instruction: Define vectorization and provide an example of how it can optimize data operations in R.

Context: This question assesses the candidate's understanding of one of R's core principles for efficient computation.

Upgrade to view answer

Related Questions