Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Mar 25, 2024
1 parent 52cf714 commit 77a024f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/simulate_residuals.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ The above three functions internally call `simulate_residuals()` for more comple
Finally, you can even perform a visual check for the entire model, either by passing the model object directly, or the object returned from `simulate_residuals()`.

```{r fig.height=12, fig.width=10}
check_model(simulated_residuals)
check_model(simulated_residuals, dot_size = 1.5)
```

The `check_model()` function is the main reason we don't want to prematurely extract the residuals in `simulate_residuals()`, because if we do then the simulated residual won't contain the model fit (`fittedModel` in the output below), so we won't be able to do all of the checks we would want to do using the model (e.g., posterior predictive checks).
Expand Down

0 comments on commit 77a024f

Please sign in to comment.