Description Usage Arguments Details Value Note Examples
This adds pseudo counts to each bin count to give df effective degrees of freedom. Must have all possible factor levels and must be of factor class.
1 |
x |
predictor vector (continuous or categorical/factors) |
y |
binary vector indicating linkage (1 = linked, 0 = unlinked) or logical vector (TRUE = linked, FALSE = unlinked) |
weights |
a vector of observation weights or the column name in
|
breaks |
set of break point for continuous predictors or NULL for categorical or discrete |
df |
the effective degrees of freedom for the cetegorical density estimates |
Continous predictors are first binned, then estimates shrunk towards zero.
data.frame containing the levels/categories with estimated Bayes factor
Give linked and unlinked a different prior according to sample size
1 | # See vignette: "Statistical Methods for Crime Series Linkage" for usage.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.