Learn R Programming

BSDA (version 1.01)

Shoplift: Sales receipts versus shoplifting losses for a department store

Description

Data for Exercise 9.58

Usage

Shoplift

Arguments

Format

A data frame with 8 observations on the following 2 variables.

sales

a numeric vector

loss

a numeric vector

Examples

Run this code
# NOT RUN {
str(Shoplift)
attach(Shoplift)
summary(lm(loss~sales))
detach(Shoplift)
# }

Run the code above in your browser using DataLab