I came up with below for my glm analysis but I need to calculate R-squared to cite in the paper? anyone can help me with this please?
summary(lrfit)
Call:
glm(formula = cbind(CumNumberTakeOff, CumNumberNOTakeOff) ~ Sex +
PlantQuality + Minlog + Temperature + Temperaturetm + +Temperature:Sex +
Temperature:PlantQuality + Sex:PlantQuality + Minlog:PlantQuality,
family = binomial, data = expdataNo20)
Deviance Residuals:
Min 1Q Median 3Q Max
-2.3724 -0.6914 -0.2577 -0.0168 3.1202
Coefficients:
Estimate Std. Error z value Pr(>|z|)
(Intercept) -38.04288 2.22259 -17.116 < 2e-16 ***
SexMale 10.20370 1.78445 5.718 1.08e-08 ***
PlantQualityF/W 19.99712 1.84748 10.824 < 2e-16 ***
Minlog 1.01936 0.04873 20.918 < 2e-16 ***
Temperature 1.21796 0.08583 14.191 < 2e-16 ***
Temperaturetm -0.52639 0.02479 -21.235 < 2e-16 ***
SexMale:Temperature -0.35374 0.06807 -5.197 2.03e-07 ***
PlantQualityF/W:Temperature -0.68000 0.07118 -9.553 < 2e-16 ***
SexMale:PlantQualityF/W -1.13717 0.17008 -6.686 2.29e-11 ***
PlantQualityF/W:Minlog -0.38413 0.06478 -5.930 3.03e-09 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
(Dispersion parameter for binomial family taken to be 1)