knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

The linear_model function

The linear model is the "hello world" of machine learning models.

library(bis557)
fit <- linear_model(Sepal.Length ~ ., iris)
fit$coefficients


casxue/bis557 documentation built on May 7, 2019, 5 a.m.