R Dataset / Package wooldridge / murder

On this R-data statistics page, you will find information about the murder data set which pertains to murder. The murder data set is found in the wooldridge R package. You can load the murder data set in R by issuing the following command at the console data("murder"). This will load the data into a variable called murder. If R says the murder data set is not found, you can try installing the package by issuing this command install.packages("wooldridge") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the murder R data set. The size of this file is about 12,559 bytes.

murder

Description

Data loads lazily. Type data(murder) into the console.

Usage

data(murder)

Format

A data.frame with 153 rows and 13 variables:

  • id. state identifier

  • state. postal code

  • year. 87, 90, or 93

  • mrdrte. murders per 100,000 people

  • exec. total executions, past 3 years

  • unem. annual unem. rate

  • d90. =1 if year == 90

  • d93. =1 if year == 93

  • cmrdrte. mrdrte - mrdrte[_n-1]

  • cexec. exec - exec[_n-1]

  • cunem. unem - unem[_n-1]

  • cexec_1. cexec[_n-1]

  • cunem_1. cunem[_n-1]

Source

https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041

Examples

 str(murder)

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-wooldridge-murder.html" width="100%" height="100%" style="border:0px"></iframe>