Intermediate
R
Q72 / 100
What does "Vectorize()" do to a non-vectorized function?
Correct! Well done.
Incorrect.
The correct answer is B) Creates a wrapper that allows the function to accept vector arguments by internally applying mapply()
B
Correct Answer
Creates a wrapper that allows the function to accept vector arguments by internally applying mapply()
Explanation
Vectorize() wraps a scalar function so it can be called with vector arguments, internally using mapply to apply it element-wise.
Progress
72/100