linear_model_py_hw4b: Fitting Linear Model Function - Python

Description Usage Arguments Value Examples

View source: R/linear_model_py_hw4b.R

Description

This function fits linear models by calculating the coefficients of regressions. Language is in Python 3.

Usage

1

Arguments

form

linear model formula

d

data frame

contrasts

optional list of constants for factor variables aka contrast

Value

the best-fit coefficients for linear regression

Examples

1
2
data(iris)
linear_model_py_hw4b(Sepal.Length ~ ., iris[1:50, -5])

brian-d1018/bis557 documentation built on Dec. 17, 2020, 6:21 p.m.