# Run the prefilter on a set of raw detection data
#format the detection data
detects_formatted <- format_detects(data = raw_detections,
var_Id = "tag_id",
var_datetime_local = "local_time",
var_receiver_serial = "serial",
local_time_zone = "America/Los_Angeles",
time_format = "%Y-%m-%d %H:%M:%S")
#apply the prefilter
prefilter(data = detects_formatted,
reference_tags = reftags,
time_unit = "secs",
multipath_time = 0.3,
org_ping_rate = 3,
beacon_ping = 30)
Run the code above in your browser using DataLab