Re: [R] GLM, how to get an R2 to explain how much of data explained by one variable

2011-02-25 Thread Clare Embling
Hi Celine, GLM outputs usually give the null deviance and residual deviance in the summary() term - so you can work out % deviance explained for a variable/model from this. Hope this helps. Best wishes, Clare Dr Clare B Embling Visiting Research Fellow Marine Inst

[R] GLM, how to get an R2 to explain how much of data explained by one variable?

2011-02-23 Thread Céline Geiser
__ R-help@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.