[R] NA/NaN/Inf in foreign function call question
ligges at statistik.tu-dortmund.de
Tue Dec 13 22:42:15 CET 2011
Probably some division by zero is done somewhere internally. We cannot
say more since this is not reproducible for us.
On 13.12.2011 18:29, niki wrote:
> Dear all,
> I have a datafile where I run haplo.GLM analyses using several variables (a
> matrix). However, when I include a certain binary variable (0,1) I get this
> Error: NA/NaN/Inf in foreign function call (arg 4)
> I don't get an error when I include another binary variable, again with only
> Both variables don't have missing values, they only have 0 and 1.
> Why do I get an error with one and not the other? It is really strange.
> Does anyone know what do I have to check? or how to exclude NA/NaN/Inf ? Or
> any other solution?
> View this message in context: http://r.789695.n4.nabble.com/NA-NaN-Inf-in-foreign-function-call-question-tp4191250p4191250.html
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help