What will be the output of log (-5.8) when executed on R console?
(a) NAN
(b) NA
(c) Error
(d) 0.213
This question was addressed to me in an internship interview.
I want to ask this question from Functions in section Control Structures, Functions, Scoping Rules, Loop Functions and Debugging of R Programming