city: city: Chlorine Measurements from Three Cities

cityR Documentation

city: Chlorine Measurements from Three Cities

Description

This data set consists of independent measurements of chlorine in ppm (parts per million) from three large cities.

Usage

city

Format

A data frame with 20 observations (rows) on 3 variables (columns).

Column name Data type Description Values
[,1] City1 numeric Chlorine in ppm for City1 (0.11 - 5.13)
[,2] City2 numeric Chlorine in ppm for City2 (0.41 - 13.89)
[,3] City3 numeric Chlorine in ppm for City3 (0.24 - 17.20)

Details

This data is the unstacked version of the data set Pollution. Earlier the cities were approximately equal polluted, but one of the cities has tried to reduce the air pollution.

See Also

Pollution

Examples


# Combining the columns into one single column
# with factor as data type
citydata <- stack(city)

# Renaming the columns of the transformed data frame
colnames(citydata) <- c("y", "city")


thoree/stat340 documentation built on June 30, 2024, 4:04 p.m.