An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090211/a94940e4/attachment-0001.pl>
Error in storage when attempting to run GLM
2 messages · R User R User, Uwe Ligges
R User R User wrote:
Hello, I'd be very grateful for help with the following. I attempt to run a basic GLM as follows: basic_model=glm(factor(A$b) ~ factor(A$c) )
>
variables b and c are text values and their class is factor. they have no missing values. I get the error: Error: NA/NaN/Inf in foreign function call (arg4) In addition: warning messages: 1: Ops.factor(y,mu) : - not meaningful for factors 2: Ops.factor(eta, offset) : - not meaningful for factors etc What does this mean?
That R cannot handle a Gaussian model with a factor response. You may want to specify a sensible family, see ?family Uwe Ligges
R [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.