Package: DRpower 1.0.2
DRpower: Study design and analysis for pfhrp2/3 deletion prevalence studies
This package can be used in the design and/or analysis stages of Plasmodium falciparum pfhrp2/3 deletion prevalence studies. We assume that the study takes the form of a clustered prevalence survey, meaning the data consists of a numerator (number of deletions found) and denominator (number tested) over multiple clusters. We are interested in estimating the study-level prevalence, i.e. over all clusters, while accounting for the possibility of high intra-cluster correlation. The analysis approach uses a Bayesian random effects model to estimate prevalence and intra-cluster correlation. The approach to power analysis is simulation-based, running the analysis many times on simulated data and estimating empirical power. This method can be used to establish a minimum sample size required to achieve a given target power.
Authors:
DRpower_1.0.2.tar.gz
DRpower_1.0.2.zip(r-4.5)DRpower_1.0.2.zip(r-4.4)DRpower_1.0.2.zip(r-4.3)
DRpower_1.0.2.tgz(r-4.4-arm64)DRpower_1.0.2.tgz(r-4.4-x86_64)DRpower_1.0.2.tgz(r-4.3-arm64)DRpower_1.0.2.tgz(r-4.3-x86_64)
DRpower_1.0.2.tar.gz(r-4.5-noble)DRpower_1.0.2.tar.gz(r-4.4-noble)
DRpower_1.0.2.tgz(r-4.4-emscripten)DRpower_1.0.2.tgz(r-4.3-emscripten)
DRpower.pdf |DRpower.html✨
DRpower/json (API)
# Install DRpower in R: |
install.packages('DRpower', repos = c('https://plasmogenepi.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mrc-ide/drpower/issues
- df_sim - Summary of simulations from the threshold analysis
- df_ss - Minimum sample sizes for the threshold analysis
- historical_data - Data from historical pfhrp2 studies that passed filters for inclusion into an ICC analysis.
Last updated 7 months agofrom:250c08a6aa457c5b5a0be099b315fd1523f27970
Exports:%>%check_DRpower_loadedget_ICCget_jointget_marginget_margin_Bayesianget_margin_CPget_power_presenceget_power_thresholdget_prevalenceget_sample_size_marginget_sample_size_margin_CPget_sample_size_presenceget_sample_size_tableplot_ICCplot_jointplot_powerplot_prevalence
Dependencies:clicolorspacecpp11dplyrextraDistrfansifarvergenericsggplot2gluegtableisobandknitrProgressBarlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpurrrR.methodsS3R.ooR6RColorBrewerRcpprlangscalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr