Learn R Programming

fastR2 (version 1.2.2)

AirPollution: Air pollution measurements

Description

Air pollution measurements at three locations.

Arguments

Format

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

  • pollution a numeric vector

  • locationa factor with levels Hill Suburb, Plains Suburb, Urban City

Examples

Run this code

data(AirPollution)
summary(lm(pollution ~ location, data = AirPollution))

Run the code above in your browser using DataLab