0

Is there a way to replace NAN with 0 in the below code. Because there are cases when both numerator and denominator is 0 and when divided returns NAN

> mean(0/0)
[1] NaN
user11740857
  • 418
  • 2
  • 7

0 Answers0