-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
42 lines (30 loc) · 981 Bytes
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
output: github_document
---
```{r setup, include = FALSE}
should_eval <- "tibble" %in% installed.packages()
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# readmission
readmission is an R data package containing a data frame, `readmission`, giving hospital readmission data for patients with diabetes. Clinical care data is from 130 U.S. hospitals in years 1999-2008. Each row describes a patient "encounter" with variables on demographics, medications, patient history, diagnostics, payment, and readmission.
## Installation
You can install the most recent release of readmission on CRAN with:
``` r
install.packages("readmission")
```
Install the development version of readmission from [GitHub](https://github.com/) with:
``` r
# install.packages("pak")
pak::pak("simonpcouch/readmission")
```
## Example
```{r, eval = should_eval}
library(tibble)
library(readmission)
readmission
```