Re: [R] Problem with effects package

2012-04-11 Thread John Fox
Dear Michael, >From ?effect (under "Warnings and Limitations"): "Binomial generalized linear models cannot have a matrix of successes and failures on the left-hand side of the model formula; instead specify the proportion of successes (i.e., successes/(successes + failures)) as the response, a

[R] Problem with effects package

2012-04-11 Thread Michael Kubovy
> sessionInfo() R version 2.15.0 (2012-03-30) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] grid datasets splines utils stats [6] graphics grDevices methods base oth

Re: [R] Problem with effects package

2011-07-30 Thread Lars Bishop
look into it when > I have a chance. > > Finally, there really is no advantage to making an effect display for a > model with a single predictor, though perhaps this isn't what you were doing > in your actual application. > > Best, >  John > >> -Original Messa

Re: [R] Problem with effects package

2011-07-30 Thread John Fox
dictor, though perhaps this isn't what you were doing in your actual application. Best, John > -Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Lars Bishop > Sent: July-30-11 4:30 PM > To: jim holtman; r-help@

Re: [R] Problem with effects package

2011-07-30 Thread Lars Bishop
ok. Here's an example: R version 2.11.1 effects_2.0-10 var1 <- c(25631.9392, 2521.2590, 6656.6516, 1362.5997, 6369.9818, 27253.4223, 2073.1909, 9959.3792, 3318.2500, 15323.8103, 11583.8717, 3054.5558, 625.6597, 2500., 11996.2271) var2 <- as.factor(c("B:=500", "B:=500", "B:=5

Re: [R] Problem with effects package

2011-07-30 Thread Jeff Newmiller
Not with a description like that. You need to make a reproducible example. Try using head () or subset to make a smaller data set. Provide the data (using e.g. dput()). Provide the commands that trigger the errors. Who knows... you might even see the issue yourself then.

Re: [R] Problem with effects package

2011-07-30 Thread John Fox
age- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Lars Bishop > Sent: July-30-11 3:01 PM > To: r-help@r-project.org > Subject: [R] Problem with effects package > > Dear List, > > Several times I use this package I get

[R] Problem with effects package

2011-07-30 Thread Lars Bishop
Dear List, Several times I use this package I get the error message shown below. When I work out simple examples, it turns out to be fine, but when working with real and moderate size data sets I always get the same error. Do you know what could be the cause of the problem? Error in apply(mod.m