search for: x2sppclass

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

2011 Jul 26
0
using subset command in glm and glm coefficients output
...te prevalence varies with region. ?I'd like to try using just a subset of the data defined by one these covariates, sex, looking at data only from adults, without using it as a covariate in the analyses. ?I tried using subset=sex=='A' in the following context: malaria1<-glm(Malaria ~ X2sppclass+place+place*X2sppclass, subset=sex=='A', na.action=na.omit, family=binomial(link="logit"")) with sex being the column name and 'A' standing for adult but R doesn't seem to like that. ?It says there is an unexpected '=' but that's how I found it coded i...