predictBF {crimelinkage}R Documentation

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

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

[Package crimelinkage version 0.0.4 Index]