All functions

DRpower

The DRpower app for design and analysis of Plasmodium falciparum pfhrp2/3 data

check_DRpower_loaded()

Check that DRpower package has loaded successfully

df_sim

Summary of simulations from the threshold analysis

df_ss

Minimum sample sizes for the threshold analysis

get_joint()

Get posterior distribution of both prevalence and the ICC on a grid

get_margin_Bayesian()

Margin of error calculations using the Bayesian DRpower model when estimating prevalence from a clustered survey

get_margin() get_sample_size_margin() get_margin_CP() get_sample_size_margin_CP()

Margin of error calculations when estimating prevalence from a clustered survey

get_prevalence() get_ICC()

Estimate prevalence and intra-cluster correlation from raw counts

get_power_presence()

Calculate power when testing for presence of deletions

get_power_threshold()

Estimate power when testing prevalence against a threshold

get_sample_size_presence()

Get minimum sample size when testing for presence of deletions

get_sample_size_table()

Get pre-computed sample size tables

historical_data

Data from historical pfhrp2 studies that passed filters for inclusion into an ICC analysis.

plot_joint()

Contour plot of joint posterior distribution of prevalence and ICC

plot_prevalence() plot_ICC()

Plot posterior distribution of prevalence and ICC

plot_power()

Plot a power curve using pre-computed values