powered by
Data for Exercise 1.113
Poison
A data frame with 6 observations on the following 2 variables.
Type
a factor with levels Alcohol Cleaning agent Cosmetics Drugs Insecticides Plants
Alcohol
Cleaning agent
Cosmetics
Drugs
Insecticides
Plants
number
a numeric vector
# NOT RUN { str(Poison) attach(Poison) names(number) <- Type barplot(number,col="red") # }
Run the code above in your browser using DataLab