mod_lm: Ordinary Least Squares

Description Usage Arguments Value Examples

Description

Ordinary Least Squares

Usage

1
mod_lm(data, formula, robust = FALSE)

Arguments

data

A data.frame containing the dependent and independent variables used in the regression.

formula

an object of class "formula" (or one that can be coerced to that class): a symbolic description of the model to be fitted. The details of model specification are given under ‘Details’.

robust

Logical. If true robust standard errors is used.

Value

mod_lm returns an object of the class mod_lm, which is a list containing information about the fitted model.

Examples

1
mod_lm(mtcars, mpg~cyl)

elben10/modelR documentation built on May 22, 2019, 1:37 p.m.