Description Usage Arguments Details Value Author(s) Examples
Small wrapper function of the geesmv package
1 | gee_var_select(formula, idvar, data, varianceEstimator = NULL)
|
formula |
The formula of the analysis |
idvar |
The id cluster variable |
data |
The data set |
varianceEstimator |
Choose one of the following list:
##' |
Small wrapper function of the geesmv package
Which sandwich variance estimator was chosen?
Degree of freedom of the residuals
Effect of the treatments
Variance/Covariance matrix of beta
Jochen Kruppa
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | require(multcomp)
geeFit <- gee_var_select(formula = "resp ~ 0 + treat",
idvar = "litter",
data = litterGeeDf,
varianceEstimator = "WangLong2011")
summary(geeFit)
contrMat_n <- setNames(rep(1, length(names(geeFit$beta))),
names(geeFit$beta))
ggGee <- glht(parm(coef = geeFit$beta, vcov = geeFit$vbeta),
linfct = contrMat(contrMat_n, type = "Dunnett"))
ggGee$df <- geeFit$df.residual
summary(ggGee)
confint(ggGee)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.