Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ntorresd committed Dec 9, 2024
1 parent 1812e54 commit 4be70e3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ head(chagas2012, 5)
The function `prepare_serodata` will prepare the entry data for the use of the modelling module; this function computes the sample size, the years of birth and the binomial confidence interval for each age group in the provided dataset. A visualisation of the prepared seroprevalence data can be obtained using the function plot_seroprev:

```{r data_test, include = TRUE, out.fig.height="30%", out.width="50%", fig.align="center", message=FALSE, warning=FALSE}
plot_serosurvey(chagas2012, size_text = 15)
plot_serosurvey(chagas2012, bin_serosurvey = TRUE, size_text = 15)
```

### Contributions
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ can be used to test out the package.
data(chagas2012)
head(chagas2012, 5)
#> survey_year n_sample n_seropositive age_min age_max
#> 1 2015 144 63 40 59
#> 2 2015 148 69 60 79
#> 3 2015 45 17 1 19
#> 4 2015 109 55 20 39
#> 1 2012 34 0 1 1
#> 2 2012 25 0 2 2
#> 3 2012 35 1 3 3
#> 4 2012 29 0 4 4
#> 5 2012 36 0 5 5
```

The function `prepare_serodata` will prepare the entry data for the use
Expand All @@ -72,7 +73,7 @@ in the provided dataset. A visualisation of the prepared seroprevalence
data can be obtained using the function plot_seroprev:

``` r
plot_serosurvey(chagas2012, size_text = 15)
plot_serosurvey(chagas2012, bin_serosurvey = TRUE, size_text = 15)
```

<img src="man/figures/README-data_test-1.png" width="50%" style="display: block; margin: auto;" />
Expand Down
Binary file modified man/figures/README-data_test-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4be70e3

Please sign in to comment.