compareCategorical: Make evidence variables from categorical crime data

Description Usage Arguments Value

Description

Compares categorical crime data to check if they match.

Usage

1
compareCategorical(C1, C2, levs, binary = FALSE)

Arguments

C1

length n categorical values of crime attributes

C2

length n categorical values of crime attributes

levs

the levels of all possible values

binary

(logical) match/no match or all combinations

Value

if binary=TRUE: 1 for match, 0 for non-matches; if binary=FALSE: factor vector of merged values (in form of f1:f2)


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