File: Combine.Rd

package info (click to toggle)
r-cran-lava 1.8.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,816 kB
  • sloc: sh: 13; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 664 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/combine.R
\name{Combine}
\alias{Combine}
\title{Report estimates across different models}
\usage{
Combine(x, ...)
}
\arguments{
\item{x}{list of model objects}

\item{...}{additional arguments to lower-level functions}
}
\description{
Report estimates across different models
}
\examples{
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)))
}
\author{
Klaus K. Holst
}