Learn R Programming

BSDA (version 1.01)

Poison: Number of poisonings reported to 16 poison control centers

Description

Data for Exercise 1.113

Usage

Poison

Arguments

Format

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

Type

a factor with levels Alcohol Cleaning agent Cosmetics Drugs Insecticides Plants

number

a numeric vector

Examples

Run this code
# NOT RUN {
str(Poison)
attach(Poison)
names(number) <- Type
barplot(number,col="red")
# }

Run the code above in your browser using DataLab