Learn R Programming

crimelinkage (version 0.0.4)

predictBF: Generate prediction of a component bayes factor

Description

This does not include the log prior odds, so will be off by a constant

Usage

predictBF(BF, x, log = TRUE)

Arguments

BF
bayes factor data.frame from getBF
x
vector of new predictor values
log
(logical) if TRUE, return the log bayes factor estimate

Value

estimated (log) bayes factor from a single predictor

Examples

Run this code
# See vignette: "Statistical Methods for Crime Series Linkage" for usage.

Run the code above in your browser using DataLab