Description Usage Arguments Value Examples
Proportions of cases and controls below a given threshold of W (natural logs)
| 1 | prop.belowthreshold(densities, w.threshold)
 | 
| densities | Adjusted densities computed by
 | 
| w.threshold | Threshold value of weight of evidence (natural logs). | 
numeric vector of length 2: proportions of controls and cases with weight of evidence below the given threshold.
| 1 2 3 4 5 6 | data("cleveland") # load example dataset
W <- with(cleveland, weightsofevidence(posterior.p, prior.p))
densities.unadj <- Wdensities.unadjusted(cleveland$y, W)
densities.adj <- Wdensities.fromraw(densities.unadj)
w.threshold <- log(4) # threshold Bayes factor of 4
prop.belowthreshold(densities.adj, w.threshold)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.