Retail {BSDA}R Documentation

Length of employment versus gross sales for 10 employees of a large retail store

Description

Data for Exercise 9.59

Usage

Retail

Format

A data frame/tibble with 10 observations on two variables

months

length of employment (in months)

sales

employee gross sales (in dollars)

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples


plot(sales ~ months, data = Retail)
model <- lm(sales ~ months, data = Retail)
abline(model, col = "blue")
summary(model)


[Package BSDA version 1.2.0 Index]