R/murders.R

#' US gun murders by state for 2010
#' 
#' Gun murder data from FBI reports. Also contains the population of each state.
#'
#' \itemize{
#'  \item state. US state
#'  \item abb. Abbreviation of US state
#'  \item region. Geographical US region
#'  \item population. State population (2010)
#'  \item total. Number of gun murders in state (2010)
#' }
#'
#' @docType data
#'
#' @usage murders
#'
#' @format An object of class \code{"data.frame"}. 
#'
#' @keywords datasets
#'
#'
#' @source \href{https://en.wikipedia.org/wiki/Gun_violence_in_the_United_States_by_state}{Wikipedia}
#'
#' @examples
#' print(murders)
"murders"

Try the dslabs package in your browser

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

dslabs documentation built on May 29, 2024, 6:29 a.m.