GymCoach
근력 트레이닝 기록 및 개인 AI 코치
다중 하위집단이 서로 다른 백신 접종률·전파 특성·접촉 패턴을 가진 인구의 감염 역학을 모델링하고 최종·중간 확산 규모를 계산합니다
Model infectious disease dynamics in populations with multiple subgroups having different vaccination rates, transmission characteristics, and contact patterns. Calculate final and intermediate outbre
건강R · C++GitHub @EpiForeSITE온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Model infectious disease dynamics in populations with multiple subgroups having different vaccination rates, transmission characteristics, and contact patterns. Calculate final and intermediate outbreak sizes, form age-structured contact models with automatic fetching of U.S. census data, and explore vaccination scenarios with an interactive shiny dashboard for a model with two subgroups, as described in Nguyen et al. (2024) <doi:10.1016/j.jval.2024.03.039> and Duong et al. (2026) <doi:10.1093/o
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
multigroup.vaccine models infectious disease dynamics in populations
with multiple distinct subgroups that can have:
• Different vaccination rates
• Different susceptibility and/or transmissibility characteristics
• Different contact rates and patterns between and within groups
The package provides both an interactive shiny dashboard for a simple
two-group example and programmatic R functions for epidemiological
modeling and outbreak forecasting.
The package depends on the following R packages:README 전문 보기 ↗[!NOTE] How to cite multigroup.vaccine. If you use multigroup.vaccine in published work, please cite it:
Toth D, Wagoner J, Ray W, Vega Yon G. multigroup.vaccine: Analyze Outbreak Models of Multi-Group Populations with Vaccination. doi:10.32614/CRAN.package.multigroup.vaccine
Run
citation("multigroup.vaccine")in R for the BibTeX entry.
multigroup.vaccine models infectious disease dynamics in populations
with multiple distinct subgroups that can have:
The package provides both an interactive shiny dashboard for a simple
two-group example and programmatic R functions for epidemiological
modeling and outbreak forecasting.
install.packages("multigroup.vaccine")
install.packages("multigroup.vaccine",
repos = "https://epiforesite.r-universe.dev")
# install.packages("remotes")
remotes::install_github("EpiForeSITE/multigroup-vaccine")
The package depends on the following R packages:
deSolve, graphics, shiny, stats, bslib (>=
0.9.0), htmltools, socialmixrknitr, rmarkdown, testthat (>= 3.0.0)Launch the shiny dashboard for interactive modeling:
library(multigroup.vaccine)
run_my_app()
The dashboard models two distinct sub-populations with differential within-group and across-group contact rates and different vaccination adherence levels. See Nguyen et al. (2024) and Duong et al. (2026) for more details on this modeling approach.
You can also use the package functions directly in R scripts. Here’s an example of comparing populations with different vaccination rates:
# Compare two populations with different vaccination rates
results <- finalsize(
popsize = c(10000, 10000), # Equal population sizes
R0 = 2, # Basic reproduction number
contactmatrix = matrix(1, 2, 2), # Equal and symmetric group-to-group contact
relsusc = c(1, 1), # Equal group susceptibility per at-risk contact
reltransm = c(1, 1), # Equal group transmissibility per at-risk contact
initR = c(0, 0), # Initially none previously infected & immune (R)
initI = c(1, 0), # One initial infectious case (I) in first group
initV = c(1000, 2000), # Initial numbers immune by vaccination (V)
method = "analytic" # Solve for final size analytically
)
print(results)
For examples of other functions or more complex scenarios, see the package vignettes.
shiny dashboard for scenario explorationComprehensive documentation and vignettes are available at: https://epiforesite.github.io/multigroup-vaccine/
View all available vignettes:
browseVignettes("multigroup.vaccine")
finalsize(): Master function for final outbreak size calculations
and simulationscontactMatrixPropPref(): Generate contact matrices from
proportionate mixing and preferential contact assumptionscontactMatrixPolymod(): Generate age-structured contact matrices
from POLYMOD datagetCensusData(): Download and process US Census Bureau population
data for age group-structured modelsrun_my_app(): Launch the interactive shiny dashboard for a
two-group modelIf you use this package in your research, please obtain citation information in R:
citation("multigroup.vaccine")
For local development:
# Clone the repository
# git clone https://github.com/EpiForeSITE/multigroup-vaccine.git
# Install development dependencies
install.packages(c("devtools", "roxygen2", "pkgdown", "lintr"))
# Load the package for development
devtools::load_all()
# Run tests
devtools::test()
# Check package
devtools::check()
This project is licensed under the MIT License - see the LICENSE.md file for details.
This package is part of the EpiForeSITE software ecosystem developed by the ForeSITE Group at the University of Utah. Development was supported by the Centers for Disease Control and Prevention’s Center for Forecasting and Outbreak Analytics (Cooperative agreement CDC-RFA-FT-23-0069).