vignettes/LAB4S.R

## ------------------------------------------------------------------------
    library(LAB4S)

## ------------------------------------------------------------------------
example <- linreg(formula = Petal.Length~Species, data = iris)

## ------------------------------------------------------------------------
example$print()

## ------------------------------------------------------------------------
example$plot()

## ------------------------------------------------------------------------
head(example$resid())

## ------------------------------------------------------------------------
head(example$pred())

## ------------------------------------------------------------------------
example$coef()

## ------------------------------------------------------------------------
example$summary()
fengye0907/LAB4S documentation built on May 17, 2019, 12:02 p.m.