Rdocumentation
powered by
Learn R Programming
crimelinkage (version 0.0.4)
compareTemporal: Make temporal evidence variable from (possibly uncertain) temporal info
Description
Calculates the temporal distance between crimes
Usage
compareTemporal(DT1, DT2, show.pb = FALSE, ...)
Arguments
DT1
(n x 2) data.frame of (DT.FROM,DT.TO) for the crimes
DT2
(n x 2) data.frame of (DT.FROM,DT.TO) for the crimes
show.pb
(logical) show the progress bar
...
other arguments passed to
expAbsDiff.circ
Value
data.frame of expected absolute differences:
temporal - overall difference (in days) [0,max]
tod - time of day difference (in hours) [0,12]
dow - fractional day of week difference (in days) [0,3.5]