Skip to content

Commit

Permalink
vignette appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Jun 6, 2023
1 parent 66958e9 commit 6fa24c5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions vignettes/usage.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ vignette: >
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
comment = "#>",
fig.width = 7,
fig.height = 5
)
library(brms.mmrm)
library(dplyr)
Expand Down Expand Up @@ -98,7 +100,11 @@ formula

To run an MMRM, use the `brm_model()` function. This function calls `brms::brm()` behind the scenes, using the formula and prior you set in the `formula` and `prior` arguments.

```{r, message = FALSE, warning = FALSE, output = FALSE}
```{r, eval = FALSE}
model <- brm_model(data = data, formula = formula, refresh = 0)
```

```{r, include = FALSE}
model <- brm_model(data = data, formula = formula, refresh = 0)
```

Expand Down

0 comments on commit 6fa24c5

Please sign in to comment.