Skip to content
Prev 301891 / 398503 Next

Help with NaN when 0 divided by 0

On Jul 31, 2012, at 3:23 PM, Jennifer Sabatier <plessthanpointohfive at gmail.com> wrote:

            
You could use ?ifelse:
[1]   0.00000  13.88889  53.79000   0.00000 150.00000 350.00000

It is very common in programming to include code to handle exceptions, so don't be shy about using conditional coding as may be appropriate.

Regards,

Marc Schwartz