Learn R Programming

GLMsData (version 1.4)

sdrink: Soft drink delivery times

Description

The time taken to deliver soft drinks to vending machines

Usage

data(sdrinks)

Arguments

Format

A data frame containing 25 observations with the following 3 variables.

Time

the time taken to service the soft drink vending machine (in minutes); a numeric vector

Cases

the number of cases of product stocked; a numeric vector

Distance

the distance walked by the driver to service the vending machines (in feet); a numeric vector

Details

A soft drink bottler is analyzing vending machine service routes in his distribution system. He is interested in predicting the amount of time required by the route driver to service the vending machines in an outlet. The service activity includes the time taken to stock the machine with beverage products, and for minor maintenance and housekeeping.

The industrial engineer responsible for the study has suggested that the two most important variables affecting the delivery time are the number of cases of product stocked and the distance walked by the route driver.

References

D. C. Montgomery and E. A. Peck (1992) Introduction to Regression Analysis. Wiley, New York. Example 4.1

Examples

Run this code
   data(sdrink)
   summary(sdrink)

Run the code above in your browser using DataLab