bayesPairs: Extracts the crimes with the largest probability of being...

Description Usage Arguments Details Value See Also

Description

Extracts the crimes (from crimeClust_bayes) with the largest probability of being linked.

Usage

1
2
3
bayesPairs(p.equal, drop = 0)

bayesProb(prob, drop = 0)

Arguments

p.equal

the posterior probability matrix produced by crimeClust_bayes

drop

only return crimes with a posterior linkage probability that exceeds drop. Set to NA to return all results.

prob

a column (or row) of the posterior probability matrix produced by crimeClust_bayes

Details

This is a helper function to easily extract the crimes with a high probability of being linked from the output of crimeClust_bayes. bayesPairs searches the full posterior probability matrix and bayesProb only searches a particular column (or row).

Value

data.frame of the indices of crimes with estimated posterior probabilities, ordered from largest to smallest

See Also

crimeClust_bayes


crimelinkage documentation built on May 2, 2019, 1:36 a.m.