Transform the unit of coefficients to "Coeff", "OR" or "RR"
geeExp(gee.coef, family = "binomial", dec)
gee.coef | geeUni object. |
---|---|
family | Family: "gaussian", "binomial", "poisson", "quasipoisson", etc..., Default: 'binomial' |
dec | Decimal point |
The transforemed coefficients(95
DETAILS
library(geepack) data(dietox) dietox$Cu <- as.factor(dietox$Cu) gee.uni <- geeUni("Weight", c("Time", "Cu"), data = dietox, id.vec = dietox$Pig, family = "gaussian", cor.type = "exchangeable" )#> Warning: Using formula(x) is deprecated when x is a character vector of length > 1. #> Consider formula(paste(x, collapse = " ")) instead.gee.exp <- geeExp(gee.uni, "binomial", 2)