linear_model: Fit a linear regression model

Description Usage Arguments Value Author(s)

Description

Use linear_model() to fit a linear regression model. The function also calculates standard errors, p-values, the F-statistic & R-squared

Usage

1

Arguments

formula

an object of class 'formula' or a string that can be coerced to this class. The formula is a symbolic description of the data and should be passed as 'DV ~ IV1 + IV2 + ...' (where DV stands for 'dependent variable' and the IVs are the independent variables). You are also allowed to pass 'DV ~ .' indicating that you will use all all variables in the data as predictors.

data

data frame containing the variables of interest

Value

list of class 'linear_model' containing:

Author(s)

Jasper Ginn


JasperHG90/meerkat documentation built on May 31, 2019, 5:39 a.m.