[R] Error in storage when attempting to run GLM
ligges at statistik.tu-dortmund.de
Wed Feb 11 15:55:58 CET 2009
R User R User wrote:
> 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
> 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
> [[alternative HTML version deleted]]
> 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