An open API service indexing awesome lists of open source software.

https://github.com/metrumresearchgroup/pmtables

TeX tables for pharmacometrics.
https://github.com/metrumresearchgroup/pmtables

latex rstats table tex

Last synced: 5 months ago
JSON representation

TeX tables for pharmacometrics.

Awesome Lists containing this project

README

          

---
output: github_document
---

```{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

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/main/inst/demo-table.pdf)

- General tables - pipe interface: [inst/demo-pipe.pdf](https://github.com/metrumresearchgroup/pmtables/blob/main/inst/demo-pipe.pdf)
- Standard table examples: [inst/demo-pmtable.pdf](https://github.com/metrumresearchgroup/pmtables/blob/main/inst/demo-pmtable.pdf)

- Long table examples: [inst/demo-longtable.pdf](https://github.com/metrumresearchgroup/pmtables/blob/main/inst/demo-longtable.pdf)

- What is sanitized: [inst/demo-sanitize.pdf](https://github.com/metrumresearchgroup/pmtables/blob/main/inst/demo-sanitize.pdf)