Re: [R] about linear model in R

2014-01-14 Thread Bert Gunter
Solip: You should usually cc R-help on your responses to increase the chance that others can help or to correct bad advice. To respond to your explanation: Read ?glm and ?family to read about how to construct glm models and family functions for them. glm models are by default fit by iterated leas

Re: [R] about linear model in R

2014-01-14 Thread Bert Gunter
I am not sure what you mean by "expected table", but perhaps ?predict.glm is what you are looking for. If not, hopefully someone else will help. Cheers, Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 "Data is not information. Information is not knowledge. And knowledge is

[R] about linear model in R

2014-01-14 Thread Solip Park
Hello :) I'm Solip Park in Barcelona :) I have one question about linear model in R. I used generalized linear model (glm) in R with three variables (A,B, and C). So I made a model like this; glm.model = glm (Freq ~ A * B * C, family = poisson) and then, anova (glm.model, test = "Chisq"). It