The dataset InsectSprays
is loaded in R already, and has data on the count of insects in areas treated with one of 6 different types of sprays. The dataset is already in the proper format for the oneway analysis of variance - a vector with the data (count
), and one with a factor describing the level (spray
).
data(InsectSprays)