powered by
Extract the coefficients of univariate gee using geeglm function (geepack package).
geeUni(y, x, data, id.vec, family, cor.type = "exchangeable")
coefficient, standard error, p-value
Dependant variable
Independent variable
Data
Vector of id (should be ordered)
Family: "gaussian", "binomial", "poisson", "quasipoisson", etc...
Correlation structure, Default: 'exchangeable'
DETAILS
library(geepack) data(dietox) dietox$Cu <- as.factor(dietox$Cu) gee.uni <- geeUni("Weight", "Time", data = dietox, id.vec = dietox$Pig, family = "gaussian", cor.type = "exchangeable" )
Run the code above in your browser using DataLab