adplus-dvertising
frame-decoration

Question

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

Answer: (b).Error in log(c(-1, 2)): 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 value of following R expression?