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
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