Learn R Programming

lmreg (version 1.2)

LAcrime: LA crime and temperature data

Description

Monthly total counts of homicides and rapes in the city of Los Angeles from January 1975 to December 1993.

Usage

data(LAcrime)

Arguments

Format

A data frame with 228 observations on the following 7 variables.

Year

Year of record

Month

Month of record

Population

Population of the city in the year of record

TempCelsius

Monthly average temperature recorded at the Los Angeles International Airport (in Celsius)

Fahrenheit

Monthly average temperature recorded at the Los Angeles International Airport (in Fahrenheit)

Homicide

Total count of homicides in the month and year of record

Rape

Total count of rapes in the month and year of record

Examples

Run this code
# NOT RUN {
data(LAcrime)
head(LAcrime)
# }

Run the code above in your browser using DataLab