Description Usage Arguments Value Examples
View source: R/linear_model_py_hw4b.R
This function fits linear models by calculating the coefficients of regressions. Language is in Python 3.
1 | linear_model_py_hw4b(form, d, contrasts = NULL)
|
form |
linear model formula |
d |
data frame |
contrasts |
optional list of constants for factor variables aka contrast |
the best-fit coefficients for linear regression
1 2 | data(iris)
linear_model_py_hw4b(Sepal.Length ~ ., iris[1:50, -5])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.