seriesID {crimelinkage} | R Documentation |
Performs crime series identification by finding the crime series that are most closely related (as measured by Bayes Factor) to an unsolved crime.
seriesID(crime, solved, seriesData, varlist, estimateBF,
linkage.method = c("average", "single", "complete"), group.method = 3,
...)
crime |
crime incident; vector of crime variables |
solved |
incident data for the solved crimes. Must have a column named
|
seriesData |
table of crimeIDs and crimeseries (results from
|
varlist |
a list of the variable names (columns of |
estimateBF |
function to estimate the bayes factor from evidence variables |
linkage.method |
the type of linkage for comparing one crime to a set of crimes
|
group.method |
the type of crime groups to form (see |
... |
other arguments passed to |
A list with two objects. score
is a data.frame of the similarity
scores for each element in solved
. groups
is the data.frame
seriesData
with an additional column indicating the crime group
(using the method specified in group.method
).
Porter, M. D. (2014). A Statistical Approach to Crime Linkage. arXiv preprint arXiv:1410.2285.. http://arxiv.org/abs/1410.2285
# See vignette: "Crime Series Identification and Clustering" for usage.