Learn R Programming

subtee (version 1.0.1)

summary.subtee: Summarizing subgroup analyses estimates

Description

Summary function for subtee objects. Shows estimates and confidence interval boundaries for all candidate subgroups (and complements).

Usage

# S3 method for subtee
summary(object, ...)

Arguments

object

An object of class subtee, usually a result of a call to modav, unadj or bagged.

...

Not used.

Value

A dataframe containing information about treatment effects and group sizes in candidate subgroups.

See Also

plot.subtee

Examples

Run this code
# NOT RUN {
data(datnorm)
cand.groups <- subbuild(datnorm, height, labvalue, region, smoker)
fitd <- cbind(datnorm, cand.groups)
subgr <- colnames(cand.groups)
res <- modav(resp = "y", trt = "treat", subgr = subgr, data = fitd, 
             covars = ~ x1 + x2, fitfunc = "lm")
summary(res)
# }

Run the code above in your browser using DataLab