slr_gd: Implements simple linear regression by gradient descent

View source: R/linear_regression_alt.R

slr_gdR Documentation

Implements simple linear regression by gradient descent

Description

Implements simple linear regression by gradient descent

Usage

slr_gd(dat, response, explanatory)

Arguments

dat

A data frame

response

The name of a response variable in the data frame (unquoted)

explanatory

The name of the explanatory variable in the data frame (unquoted)

Value

A data frame of coefficients


mknauss58/Lab-6-Group documentation built on May 22, 2022, 12:26 a.m.