pubs {discovr} | R Documentation |
Pub data
Description
A dataset from Field, A. P. (2026). Discovering statistics using R and RStudio (2nd ed.). London: Sage.
Usage
pubs
Format
A tibble with 8 rows and 2 variables.
Details
Data illustrating the difference between an outlier and an influencial case. The data came to me via David Hitchin, and he in turn got it from Dr Richard Roberts. I have no idea whether it's real or fictitious. The tibble contains the following variables:
-
pubs: The number of pubs in a particular district of London
-
mortality: The mortality rate in that district
Source
www.discovr.rocks/csv/pubs.csv
[Package discovr version 0.2.2 Index]