InsectSprays

Effectiveness of Insect Sprays

The counts of insects in agricultural experimental units treated with different insecticides.

Keywords
datasets
Usage
InsectSprays
Format

A data frame with 72 observations on 2 variables.

[,1] count numeric Insect count

References

McNeil, D. (1977) Interactive Data Analysis. New York: Wiley.

Aliases
  • InsectSprays
Examples
library(datasets) # NOT RUN { require(stats); require(graphics) boxplot(count ~ spray, data = InsectSprays, xlab = "Type of spray", ylab = "Insect count", main = "InsectSprays data", varwidth = TRUE, col = "lightgray") fm1 <- aov(count ~ spray, data = InsectSprays) summary(fm1) opar <- par(mfrow = c(2, 2), oma = c(0, 0, 1.1, 0)) plot(fm1) fm2 <- aov(sqrt(count) ~ spray, data = InsectSprays) summary(fm2) plot(fm2) par(opar) # }
Documentation reproduced from package datasets, version 3.4.3, License: Part of R 3.4.3

Community examples

Looks like there are no examples yet.