Learn R Programming

exploratory (version 0.3.31)

multiple_regression: Summarize multiple regression results in a data.table

Description

Summarize multiple regression results in a data.table

Usage

multiple_regression(
  data = NULL,
  formula = NULL,
  sigfigs = NULL,
  round_digits_after_decimal = NULL
)

Value

the output will be a data.table showing multiple regression results.

Arguments

data

a data object (a data frame or a data.table)

formula

a formula object for the regression equation

sigfigs

number of significant digits to round to

round_digits_after_decimal

round to nth digit after decimal (alternative to sigfigs)

Examples

Run this code
multiple_regression(data = mtcars, formula = mpg ~ gear * cyl)

Run the code above in your browser using DataLab