search for: dwater

Displaying 1 result from an estimated 1 matches for "dwater".

Did you mean: water
2005 Oct 31
1
GLM
...get means for summary statistics such as AIC and coef. Is there a way to do this in R without separately going through each individual and subsetting the dataset, getting the summary statistics and averaging them? For example, in the dataset below I would like to run the function: >glm(Type~Dwater+Habitat, data=example, family=binomial()) on each individual separately and then get the average for the coef's Dwater and Habitat for the 3 individuals. >example Individual Type Dwater Habitat 1 1 0 40 0 2 1 1 80 1 3 1 0 3...