Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
# more info: https://github.com/rstudio/education-workflows/tree/main/examples#deploy-pkgdown-to-github-pages-with-pr-previews-and-tagged-versions
on:
pull_request:
branches:
- main
types:
- opened
- reopened
Expand All @@ -19,8 +17,8 @@ on:
- 'vignettes/**'
- '_quarto.yml'
- '.github/workflows/pkgdown.yaml'
- 'Readme.md'
- 'Contributing.md'
- 'README.md'
- '.github/CONTRIBUTING.md'
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+' # build on version tags
Expand All @@ -46,7 +44,7 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Configure git
run: |
Expand Down Expand Up @@ -138,7 +136,7 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: "gh-pages"

Expand Down
9 changes: 3 additions & 6 deletions vignettes/articles/getting-started.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ Plot the predicted antibody curves with credible intervals:
#| label: plot-curves
plot_predicted_curve(
fitted_model,
id = serocalculator::ids(case_data)[1],
antigen_iso = case_data$antigen_iso[1]
ids = serocalculator::ids(simulated_data)[1],
antigen_iso = simulated_data$antigen_iso[1]
)
```

Expand All @@ -183,11 +183,8 @@ Extract and summarize the posterior estimates:

```{r}
#| label: postprocess
# Process JAGS output
processed_output <- postprocess_jags_output(fitted_model)

# Summarize parameter estimates
summary_stats <- post_summ(processed_output)
summary_stats <- post_summ(fitted_model)
print(summary_stats)
```

Expand Down