Diplomat {BSDA}R Documentation

Parking tickets issued to diplomats

Description

Data for Exercises 1.14 and 1.47

Usage

Diplomat

Format

A data frame with 10 observations on the following 4 variables.

Country
a factor with levels Brazil Bulgaria Egypt Indonesia Israel Nigeria Russia S. Korea Ukraine Venezuela
Number
a numeric vector
rate
a numeric vector
Code
a factor with levels Br Bu Eg In Is Ni Ru SK Uk Ve

Source

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

Examples

str(Diplomat)
attach(Diplomat)
par(mfrow=c(1,2))
names(Number) <- Country
dotchart(Number,main="Number of Tickets",col="blue",pch=1)
names(rate) <- Country
dotchart(rate,main="Tickets/Vehicle/Month",col="red",pch=2)
barplot(rate,col="pink")
detach(Diplomat)

[Package BSDA version 0.1 Index]