lin_model: Linear regression model

Description Usage Arguments Value

View source: R/linear_regression.R

Description

Performs linear regression using Ordinary Least Squares (or Weighted Least Squares when weights are specified)

Usage

1

Arguments

formula

Model formula using specified columns of DataFrame 'data'. Can include interactions and select no intercept with -1

data

Dataframe from which model variables are pulled.

weights

Vector of weights to be used in Weighted Least Squares regression estimates. Default = NULL.

Value

List of coefficients, estimate standard errors, test statistics, and p-values


EvanWie/linearRegress documentation built on Nov. 20, 2019, 12:02 a.m.