R/arrests.R

#' Arrest data from Gelman & Hill
#'
#' Arrest data from Gelman & Hill's book, used in Chapter 6 (and others).
#' The data have been aggregated by precinct and race/ethnicity, with the 
#' sum of prior arrests and stops calculated. You can download the original
#' data here: http://www.stat.columbia.edu/~gelman/arm/examples/police/
#'
#' @format A tibble with 225 rows and 4 variables:
#' \describe{
#'   \item{precinct}{An integer denoting the precinct identification number.}
#'   \item{eth}{A factor with the coded race/ethnicity}
#'   \item{stops}{The number of police stops}
#'   \item{arrests}{The number of prior arrests (this is used as an offset variable in the book)}
#' }
"arrests"

Try the equatiomatic package in your browser

Any scripts or data that you put into this service are public.

equatiomatic documentation built on Jan. 31, 2022, 1:06 a.m.