lsmeans {tern.gee} | R Documentation |
Extract Least Square Means from a GEE Model
Description
Extract Least Square Means from a GEE Model
Usage
lsmeans(object, conf_level = 0.95, weights = "proportional", ...)
## S3 method for class 'tern_gee_logistic'
lsmeans(object, conf_level = 0.95, weights = "proportional", ...)
Arguments
object |
( |
conf_level |
( |
weights |
( |
... |
additional arguments for methods |
Value
A data.frame
with least-square means and contrasts. Additional
classes allow to dispatch downstream methods correctly, too.
Examples
df <- fev_data
df$AVAL <- rbinom(n = nrow(df), size = 1, prob = 0.5)
fit <- fit_gee(vars = vars_gee(arm = "ARMCD"), data = df)
lsmeans(fit)
lsmeans(fit, conf_level = 0.90, weights = "equal")
[Package tern.gee version 0.1.4 Index]