Inmate {BSDA}R Documentation

Type of drug offense by race

Description

Data for Statistical Insight Chapter 8

Usage

Inmate

Format

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

Race
a factor with levels black hispanic white
heroin
a numeric vector
crack
a numeric vector
cocaine
a numeric vector
marijuan
a numeric vector

Source

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury

Examples

str(Inmate)
attach(Inmate)
Inmate
chisq.test(Inmate[,2:5])
detach(Inmate)

[Package BSDA version 0.1 Index]