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 certainly not wisdom."
H. Gilbert Welch
On Tue, Jan 14, 2014 at 3:29 AM, Solip Park <imagineyd at gmail.com>
wrote:> 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 worked very well, but I have one question about this.
> I have my own expected table (or random table), so I want to apply my own
> expected table to this model.
> Is it possible or not?
>
> Thanks so much :)
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.