palettes: Palette repair data

Description Usage Format Source Examples

Description

The palettes data set contains data from a firm that recycles palettes. Palettes from warehouses are bought, repaired, and resold. (Repairing a palette typically involves replacing one or two boards.) The company has four employees who do the repairs. The employer sampled five days for each employee and recorded the number of palettes repaired.

Usage

1

Format

A data frame with 20 observations on the following 3 variables.

palettes

number of palettes repaired

employee

a factor with levels A B C D

day

a factor with levels day1 day2 day3 day4 day5

Source

Michael Stob, Calvin College

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data(palettes)
# Do the employees differ in the rate at which they repair palettes?
pal.lm1 <- lm(palettes~employee,palettes) 
anova(pal.lm1)
# Now using day as a blocking variable
pal.lm2 <- lm(palettes~employee+day,palettes) 
anova(pal.lm2)
xyplot(palettes~day,palettes,
		groups=employee,
		main="Productivity by day and employee",
		type='b',auto.key=list(columns=4,points=FALSE,lines=TRUE))

fastR documentation built on May 31, 2017, 4:12 a.m.

Search within the fastR package
Search all R packages, documentation and source code