get_direct_bias | R Documentation |
Obtain direct bias that measure the discrepancy of a posterior distribution of pie and a true pie.
get_direct_bias(DIR_list, truth = NULL, silent = FALSE)
DIR_list |
The list of where Bayesian results are stored |
truth |
True etiologic fraction vector (must sum to 1) used to generate data;
Default is |
silent |
Default is FALSE. To suppress printing messages, set to TRUE. |
a list of length two. diff
is the direct differences;
prb
is the percent relative bias.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.