Skip to content
Prev 320375 / 398506 Next

NaNS Error Message

Hi

If you can not share information you need to solve your problems yourself.

you can trace code by some print statements

sn<-(S-n);snfact<-gamma(sn); print(sn)

or use 
?debug

as Sarah pointed out, n is probably greater than 100 and in that case gamma(sn) results in NaN.

Regards
Petr