Skip to content

Commit 53701f0

Browse files
committed
Addressing CRAN comments
1 parent 72c0673 commit 53701f0

File tree

7 files changed

+52
-39
lines changed

7 files changed

+52
-39
lines changed

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: epiworldRShiny
22
Type: Package
3-
Title: An 'RShiny' Wrapper of the R Package 'epiworldR'
3+
Title: A 'shiny' Wrapper of the R Package 'epiworldR'
44
Version: 0.1-0
5-
Date: 2024-05-14
5+
Date: 2024-05-31
66
Authors@R: c(
77
person("Derek", "Meyer", role=c("aut","cre"),
88
email="derekmeyer37@gmail.com", comment = c(ORCID = "0009-0005-1350-6988")),
@@ -17,7 +17,7 @@ Authors@R: c(
1717
person("Matthew", "Samore", role=c("ctb"), email="matthew.samore@hsc.utah.edu", comment = c(ORCID = "0000-0002-4862-9196")),
1818
person("Jay", "Love", role=c("ctb"), email="jay.love@utah.edu", comment = c(ORCID="0000-0002-9371-2466")),
1919
person("Kristina", "Stratford", role=c("ctb"), email="kristina.stratford@hsc.utah.edu"))
20-
Description: This 'RShiny' wrapper provides a user-friendly interface to the Agent-Based Modeling (ABM) R package 'epiworldR' (Meyer et al., 2023) <DOI:10.21105/joss.05781>. Some of the main features of the package include the Susceptible-Infected-Susceptible (SIS), Susceptible-Infected-Recovered (SIR), and the Susceptible-Exposed-Infected-Recovered (SEIR) models. 'epiworldRShiny' provides a web-based user interface for running various epidemiological ABMs, simulating interventions, and visualizing results interactively.
20+
Description: R 'shiny' web apps for epidemiological Agent-Based Models. It provides a user-friendly interface to the Agent-Based Modeling (ABM) R package 'epiworldR' (Meyer et al., 2023) <DOI:10.21105/joss.05781>. Some of the main features of the package include the Susceptible-Infected-Susceptible (SIS), Susceptible-Infected-Recovered (SIR), and Susceptible-Exposed-Infected-Recovered (SEIR) models. 'epiworldRShiny' provides a web-based user interface for running various epidemiological ABMs, simulating interventions, and visualizing results interactively.
2121
URL: https://github.com/UofUEpiBio/epiworldRShiny/,
2222
https://uofuepibio.github.io/epiworldRShiny/,
2323
BugReports: https://github.com/UofUEpiBio/epiworldRShiny/issues/

R/app.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#' @importFrom stats aggregate as.formula reshape
1515
#' @importFrom utils write.csv packageVersion
1616
#'
17-
#' @return Loads and opens the RShiny app for the epiworldR package
17+
#' @return Loads and opens the R shiny app for the epiworldR package
1818
#' @param ... Currently ignored.
1919
#' @export
2020
#' @name epiworldRShiny

R/functions-ui.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ text_input_disease_name <- function(model_name) {
2222
#' @rdname epiworldrshiny-ui
2323
#' @export
2424
#' @examples
25-
#' # slider_prevalence("SEIRD")
25+
#' slider_prevalence("SEIRD")
2626
slider_prevalence <- function(model_name) {
2727
shiny::sliderInput(
2828
paste0(model_name, "_prevalence"),

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "epiworldRShiny: An RShiny Application for the epiworldR Package"
2+
title: "epiworldRShiny: A 'shiny' Wrapper of the R Package 'epiworldR'"
33
output: github_document
44
---
55

README.md

Lines changed: 44 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
epiworldRShiny: An RShiny Application for the epiworldR Package
1+
epiworldRShiny: A ‘shiny’ Wrapper of the R Package ‘epiworldR’
22
================
33

44
<!-- badges: start -->
@@ -9,18 +9,20 @@ status](https://www.r-pkg.org/badges/version/epiworldRShiny)](https://CRAN.R-pro
99
<!-- badges: end -->
1010

1111
This R package provides a user-friendly application for
12-
[epiworldR](https://github.com/UofUEpiBio/epiworldR), a wrapper of the
13-
C++ library [epiworld](https://github.com/UofUEpiBio/epiworld). It
14-
provides a general framework for modeling disease transmission using
15-
[agent-based
16-
models](https://en.wikipedia.org/w/index.php?title=Agent-based_model&oldid=1153634802).
17-
Some of the main features include:
18-
19-
- Fast simulation with an average of 30 million agents/day per second.
20-
- 9 different epidemiological models to choose from.
21-
- Built-in capability for user-defined interventions.
22-
- Built-in capability to define population and disease parameters.
23-
- Informative visualizations and tables after running each simulation.
12+
<a href="https://github.com/UofUEpiBio/epiworldR"
13+
target="_blank">epiworldR</a>, a wrapper of the C++ library
14+
<a href="https://github.com/UofUEpiBio/epiworld"
15+
target="_blank">epiworld</a>. It provides a general framework for
16+
modeling disease transmission using <a
17+
href="https://en.wikipedia.org/w/index.php?title=Agent-based_model&amp;oldid=1153634802"
18+
target="_blank">agent-based models</a>. Some of the main features
19+
include:
20+
21+
- Fast simulation with an average of 30 million agents/day per second.
22+
- 9 different epidemiological models to choose from.
23+
- Built-in capability for user-defined interventions.
24+
- Built-in capability to define population and disease parameters.
25+
- Informative visualizations and tables after running each simulation.
2426

2527
You can find more examples on the package’s website:
2628
<https://uofuepibio.github.io/epiworldRShiny/>
@@ -61,13 +63,17 @@ number, a model summary, and a table of counts over time are displayed.
6163
This example features: - SEIR network model for COVID-19
6264
The day of peak infections occurs on day 12, maxing at about 18,000
6365
infections.
64-
\- The disease spreads rapidly at the simulation’s beginning,
65-
drastically decreasing over the first ten days.
66-
\- Model summary
67-
\- State counts table
68-
69-
![example 1
70-
GIF](https://github.com/UofUEpiBio/epiworldRShiny/assets/105825983/f4e7d313-e3b6-4ebb-9c0a-ca4d53ef9cea)
66+
- The disease spreads rapidly at the simulation’s beginning, drastically
67+
decreasing over the first ten days.
68+
- Model summary
69+
- State counts table
70+
71+
<figure>
72+
<img
73+
src="https://github.com/UofUEpiBio/epiworldRShiny/assets/105825983/f4e7d313-e3b6-4ebb-9c0a-ca4d53ef9cea"
74+
alt="example 1 GIF" />
75+
<figcaption aria-hidden="true">example 1 GIF</figcaption>
76+
</figure>
7177

7278
### Example \#2
7379

@@ -76,15 +82,18 @@ closure interventions to curb disease spread. All model output can be
7682
interpreted using the same logic from example \#1.
7783

7884
Key features: - SEIRD network model for COVID-19
79-
\- Vaccine prevalence = 70%
80-
\- School closure prevalence = 50%
81-
\- Day of school closure implementation = 7
82-
\- Significantly decreased number of infections and deaths.
83-
\- The majority of the population recovered or was susceptible by day
84-
30.
85-
86-
![example 2
87-
GIF](https://github.com/UofUEpiBio/epiworldRShiny/assets/105825983/d5405162-f7fe-4a42-8a4c-e9a2ac31be73)
85+
- Vaccine prevalence = 70%
86+
- School closure prevalence = 50%
87+
- Day of school closure implementation = 7
88+
- Significantly decreased number of infections and deaths.
89+
- The majority of the population recovered or was susceptible by day 30.
90+
91+
<figure>
92+
<img
93+
src="https://github.com/UofUEpiBio/epiworldRShiny/assets/105825983/d5405162-f7fe-4a42-8a4c-e9a2ac31be73"
94+
alt="example 2 GIF" />
95+
<figcaption aria-hidden="true">example 2 GIF</figcaption>
96+
</figure>
8897

8998
### Example \#3
9099

@@ -98,5 +107,9 @@ population, 70% non-hispanic - 52% female population - 30% of population
98107
younger than 20 years old - 30% of population between 20 and 60 years
99108
old - 40% of population older than 60.
100109

101-
![example 3
102-
GIF](https://github.com/UofUEpiBio/epiworldRShiny/assets/105825983/20aeb62d-cb42-4882-8577-a3406f167bca)
110+
<figure>
111+
<img
112+
src="https://github.com/UofUEpiBio/epiworldRShiny/assets/105825983/20aeb62d-cb42-4882-8577-a3406f167bca"
113+
alt="example 3 GIF" />
114+
<figcaption aria-hidden="true">example 3 GIF</figcaption>
115+
</figure>

man/epiworldRShiny.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/epiworldrshiny-ui.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)