Combine: Report estimates across different models

Description Usage Arguments Author(s) Examples

View source: R/zcombine.R

Description

Report estimates across different models

Usage

1

Arguments

x

list of model objects

...

additional arguments to lower level functions

Author(s)

Klaus K. Holst

Examples

1
2
3
4
5
6
data(serotonin)
m1 <- lm(cau ~ age*gene1 + age*gene2,data=serotonin)
m2 <- lm(cau ~ age + gene1,data=serotonin)
m3 <- lm(cau ~ age*gene2,data=serotonin)

Combine(list(A=m1,B=m2,C=m3),fun=function(x) c(R2=format(summary(x)$r.squared,digits=2)))

lava documentation built on May 2, 2019, 4:49 p.m.