adplus-dvertising
frame-decoration

Question

What will be the output of the following R expression?
> log(-2.3)

a.

Warning in log(-2.3): NaNs produced

b.

1

c.

Null

d.

0

Answer: (a).Warning in log(-2.3): NaNs produced

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be the output of the following R expression?