Dear List,
I find Effects package very useful, but  I believe I have found a bug in
allEffects function. Please consider the following code:

test <- data.frame(tries= round(runif(40, 5, 300)),
    tra = gl(4, 10, labels = c("V", "D", "C", "L")),
    prop= runif(40, 0, 1))

test$success <- round(with(test, tries*prop))
test$prop <- with(test, success/tries)

model <- glm( cbind(success, tries) ~ -1 + tra, data = test, family =
binomial)
allEffects(model)

#Error en eval(expr, envir, enclos) : objeto 'tra' no encontrado

model2 <- glm( prop ~ -1 + tra, weights = tries, data = test, family =
binomial)
allEffects(model2)
#Works

On a quick search on the internet I've found nothing about this. Is this a
bug?

Thanks for your time


Luciano

	[[alternative HTML version deleted]]

