Skip to content

Commit

Permalink
Correct vignettes
Browse files Browse the repository at this point in the history
  • Loading branch information
dchodge committed Oct 14, 2024
1 parent 14c2a46 commit 9ded348
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
11 changes: 3 additions & 8 deletions vignettes/model_define.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ This document explains two critical parts of the model defined in the provided R
```{r}
library(devtools)
library(tidyverse)
devtools::load_all()
#library(serojump)
library(tidyr)
library(dplyr)
library(serojump)
```

Expand Down Expand Up @@ -196,8 +195,6 @@ modeldefinition <- list(
exposureFitted = exposureFitted,
observationalModel = observationalModel,
abkineticsModel = abkineticsModel
# exposurePrior = attack_rate_data,
# exposurePriorType = "empirical"
)
seroModel <- createSeroJumpModel(data_sero, NULL, modeldefinition)
Expand All @@ -219,8 +216,6 @@ rj_settings <- list(
iterations = 2000,
burninPosterior = 1000,
thin = 1
# runParallel = FALSE,
# onDebug = TRUE
)
model_summary <- runInfRJMCMC(seroModel, rj_settings, save_info = save_info)
Expand Down
4 changes: 3 additions & 1 deletion vignettes/sim_recovery.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ This document describes the steps and components of the provided R code for crea
```{r}
library(devtools)
library(tidyverse)
library(tidyr)
library(dplyr)
library(magrittr)
library(serojump)
```
Expand Down

0 comments on commit 9ded348

Please sign in to comment.