Re: [R] Error in example Glm rms package

2011-02-08 Thread Ben Bolker
anna freni sterrantino yahoo.it> writes: > I've got this error while running > > example(Glm) > > library("rms") > > example(Glm) [snip] > Glm> f <- Glm(counts ~ outcome + treatment, family=poisson()) > Error in Design(eval(mf, parent.frame())) : > dataset dd not found for options(datadist

[R] Error in example Glm rms package

2011-02-08 Thread anna freni sterrantino
Hi all! I've got this error while running example(Glm) library("rms") > example(Glm) Glm> ## Dobson (1990) Page 93: Randomized Controlled Trial : Glm> counts <- c(18,17,15,20,10,20,25,13,12) Glm> outcome <- gl(3,1,9) Glm> treatment <- gl(3,3) Glm> f <- glm(counts ~ outcome + treatment, fa