Skip to contents

The dataset name has been changed to 'USArrests_df' to avoid confusion with other packages in the R ecosystem. This naming convention helps distinguish this dataset as part of the 'usdatasets' package and identifies it as a data frame. The original content of the dataset has not been modified.

Usage

data(USArrests_df)

Format

A data frame with 50 observations and 4 variables representing the rates of arrests in the U.S.:

Murder

Numeric vector representing the murder rates per 100,000 residents.

Assault

Integer vector representing the assault rates per 100,000 residents.

UrbanPop

Integer vector representing the percentage of the population living in urban areas.

Rape

Numeric vector representing the rape rates per 100,000 residents.

Source

U.S. arrests data from 1973.