[R] How to avoid a divide by zero issue.

Neha gupta neh@@bo|ogn@90 @end|ng |rom gm@||@com
Tue Jan 25 21:50:20 CET 2022


Hello everyone

I have an output variable (0/1) and I want to evaluate how the model is
biased when we have 1 and when 0 value.

The problem is that the package of R I use here is designed originally to
check bias for input metrics. When I evaluate it for this output variable,
it gives me NA values, probably a divide by zero problem. Can I avoid this
issue and how (I am not very expert of R language).

Warm regards

	[[alternative HTML version deleted]]



More information about the R-help mailing list