Re: [R] choose the intercept from glm and lm

2008-01-09 Thread Knut Krueger
Chuck Cleland schrieb: >> Regards Knut > > Here is one way: > > outcome <- relevel(outcome, ref="2") > > ?relevel > Thank you very much. Knut __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] choose the intercept from glm and lm

2008-01-08 Thread Chuck Cleland
On 1/8/2008 2:48 PM, Knut Krueger wrote: > Hi to all, > Is there a possibility to choose which value is used for the intercept > or does in not make any sense? > f.e I would like to use outcome2 for the intercept > > ## Dobson (1990) Page 93: Randomized Controlled Trial : > counts <- c(18,17,15,2

[R] choose the intercept from glm and lm

2008-01-08 Thread Knut Krueger
Hi to all, Is there a possibility to choose which value is used for the intercept or does in not make any sense? f.e I would like to use outcome2 for the intercept ## Dobson (1990) Page 93: Randomized Controlled Trial : counts <- c(18,17,15,20,10,20,25,13,12) outcome <- gl(3,1,9) treatment <- gl(