---
title: "Getting started with testflow"
output: rmarkdown::pdf_document
vignette: >
  %\VignetteIndexEntry{Getting started with testflow}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

```{r, echo = FALSE}
knitr::opts_chunk$set(collapse = TRUE, comment = "#>", eval = TRUE)
```

## Getting started

`testflow` starts with the study design.

```{r}
library(testflow)
cardio <- make_cardio_data()
x <- test_two_groups(sbp_3m ~ sex, data = cardio)
x
report(x)
plot(x)
```
