knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

pgf

pgf is an R implementation of the parametric g formula, first developed by Robins in the mid 1980s. The purpose of this program is to simulate the follow-up of a cohort study with complex longitudinal data under different exposure regimes. pgf accomplishes this in two steps:

You can install the latest development version from github with

```R
install.packages("devtools")
devtools::install_github("ainaimi/pgf")
```

If you encounter a bug or other issue, please file a request on github.

Learning pgf

A vignette for the pgf package is currently in preparation. To learn about the parametric g formula more generally, please refer to the following citations:



ainaimi/pgf documentation built on May 10, 2019, 8 a.m.