What will be the value of following R expression?
(a) Warning in log(c(-1, 2)): NaNs produced
(b) Error in log(c(-1, 2)): NaNs produced
(c) Message
(d) All of the mentioned
This question was addressed to me in my homework.
Question is taken from Debugging in division Control Structures, Functions, Scoping Rules, Loop Functions and Debugging of R Programming