What will be the output of log (-5.8) when executed on r console?
Answer Posted / Mohammad Asif
In R, taking the natural logarithm of a negative number results in NaN (Not a Number). So, the output of log(-5.8) is NaN.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers