reg: Run regression

Description Usage Arguments Integration into ggplot2 Examples

Description

...

Usage

1
2
reg(method = "lm", depvar = "1", covars = list(c("cyl", "disp"), c("drat",
  "vs", "am")), data, stepwise = FALSE, stargazer = FALSE, ...)

Arguments

...
...

Other parameters passed into the regression function

Integration into ggplot2

You can simply add to a plot created by run2elev by using the usual ggplot2-syntax.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
reg(method = "lm",
    depvar = "mpg",
    covars = list(c("cyl","disp"),
                  c("drat","vs","am")),
    data = "mtcars",
    stepwise = T,
    stargazer = T)

## End(Not run)

schliebs/rforceone documentation built on May 24, 2019, 7:19 a.m.