[R] glm: NA/NaN/Inf in foreign function call
bates at stat.wisc.edu
Thu Apr 17 18:21:51 CEST 2003
J.Illian at abertay.ac.uk writes:
> Dear all,
> I am running the glm function (family: Poisson) in R and most of the time it
> works fine. But sometimes, with large data sets, I get the following error
> Error: NA/NaN/Inf in foreign function call (arg 1)
> What puzzles me most about this is the fact that there are no missing values
> in my vectors at all- so where do the missing values come from? Could this
> be related to the size of the vectors I use?
Try using control = list(trace = TRUE) in your call to glm to see what
the progress of the IRLS algorithm is.
More information about the R-help