Runs get_joint()
to obtain the joint posterior
distribution of the prevalence and the ICC. Creates a ggplot contour plot
object from this result.
plot_power(
n_clust = 5,
prevalence = 0.1,
ICC = 0.05,
prev_thresh = 0.05,
N_min = 1,
N_max = 2000
)
the number of clusters. Allowed values are anything in
2:20
, including vectors of values.
the assumed true prevalence of pfhrp2/3 deletions in the
domain. Allowed values are anything in seq(0, 0.2, 0.01)
, including
vectors of values.
the assumed intra-cluster correlation. Allowed values are" {0, 0.01, 0.02, 0.05, 0.1, 0.2}.
the prevalence threshold against which we are comparing. Allowed values are: {0.05, 0.08, 0.1}.
plotting limits on the x-axis.
plot_power()