Learn R Programming

BSDA (version 1.01)

Bus: Attendance of bus drivers versus attendance

Description

Data for Exercise 8.25

Usage

Bus

Arguments

Format

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

Attend

a factor with levels Absent Present

AM

a numeric vector

Noon

a numeric vector

PM

a numeric vector

Swing

a numeric vector

Split

a numeric vector

Examples

Run this code
# NOT RUN {
str(Bus)
attach(Bus)
Bus
chisq.test(Bus[,2:6])
detach(Bus)
# }

Run the code above in your browser using DataLab