-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.Rmd
75 lines (49 loc) · 2.06 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
set.seed(1010)
knitr::opts_chunk$set(
collapse = TRUE,
comment = ".",
fig.path = "man/figures/README-",
warning = FALSE,
message = FALSE,
fig.width = 5,
fig.height = 4
)
```
# pmtables <img align="right" src = "man/figures/metrum_pmtables_git_logo.png" width="135px">
<!-- badges: start -->
<!-- badges: end -->
The goal of pmtables is to create summary tables commonly used in
pharmacometrics.
## Installation
You can install the released version of pmtables from [MPN](https://mpn.metworx.com/docs/) with:
```r
mpn <- "https://mpn.metworx.com/snapshots/stable/2021-06-20"
install.packages("pmtables", repos = mpn)
```
This installs from a specific, dated snapshot. Please check
https://mpn.metworx.com/docs/snapshots/ for the most recent snapshot date.
You can install the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("metrumresearchgroup/pmtables")
```
# Documentation
We maintain a pmtables book [here](https://github.com/metrumresearchgroup/pmt-book)
## Examples
### Data Disposition
![](man/figures/table-1.png)
### Continuous Covariate Summary
![](man/figures/table-2.png){ width=80% }
### Discrete Covariate Summary
![](man/figures/table-3.png){ width=80% }
# Examples in working docs
- General table examples: [inst/demo-table.pdf](https://github.com/metrumresearchgroup/pmtables/blob/develop/inst/demo-table.pdf)
- General tables - pipe interface: [inst/demo-pipe.pdf](https://github.com/metrumresearchgroup/pmtables/blob/develop/inst/demo-pipe.pdf)
- Standard table examples: [inst/demo-pmtable.pdf](https://github.com/metrumresearchgroup/pmtables/blob/develop/inst/demo-pmtable.pdf)
- Long table examples: [inst/demo-longtable.pdf](https://github.com/metrumresearchgroup/pmtables/blob/develop/inst/demo-longtable.pdf)
- What is sanitized: [inst/demo-sanitize.pdf](https://github.com/metrumresearchgroup/pmtables/blob/develop/inst/demo-sanitize.pdf)