Skip to content

Commit

Permalink
Selecting correct row using parameter id instead of row number
Browse files Browse the repository at this point in the history
  • Loading branch information
CarmenTamayo authored and joshwlambert committed Oct 7, 2024
1 parent d290c39 commit ec6a8c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vignettes/articles/data_from_epireview.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,11 @@ ebola_si_rows <- ebola_params[
ebola_si_rows
```

We will select the 358th entry, which is a serial interval, as this entry has estimated and reported a Weibull distribution:
We will select the 17th entry, as this entry has estimated and reported a Weibull distribution:

```{r, select-ebola-entry}
ebola_si <- ebola_delays[358, ]
ebola_si <- ebola_si_rows[
ebola_si_rows$parameter_data_id=="0c3e02f80addfccc1017fa619fba76c5",]

Check warning on line 193 in vignettes/articles/data_from_epireview.Rmd

View workflow job for this annotation

GitHub Actions / lint-changed-files

file=vignettes/articles/data_from_epireview.Rmd,line=193,col=34,[infix_spaces_linter] Put spaces around all infix operators.

Check warning on line 193 in vignettes/articles/data_from_epireview.Rmd

View workflow job for this annotation

GitHub Actions / lint-changed-files

file=vignettes/articles/data_from_epireview.Rmd,line=193,col=71,[commas_linter] Commas should always have a space after.
ebola_si
```

Expand Down

0 comments on commit ec6a8c7

Please sign in to comment.