Description Usage Arguments Value Examples
Obtain coverage status from a result folder
1 | get_coverage(DIR_NPLCM, truth)
|
DIR_NPLCM |
Path to where Bayesian results are stored |
truth |
True etiologic fraction vector (must sum to 1) used to generate data. |
A logic vector of length as truth
. 1 for covered; 0 for not.
1 2 3 4 5 6 | ## Not run:
DIR_NPLCM <- "~/downloads/rep_1_kfit_2/"
truth <- c(0.5,0.2,0.15,0.1,0.05)
get_coverage(DIR_NPLCM,truth)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.