fetch_ins_outs_v1: Split data into different pieces of activity for SNB data...

Description Usage Arguments Details Examples

View source: R/A_EVENTS_elements_v1.R

Description

This function fetches individual in and out events based on a time threshold and transponder readings. If two transponder readings occur close in time, the rows in between are removed, because it is unclear to which individual this data belongs, and the information about the direction of the movement is marked as "unclear".

Usage

1
fetch_ins_outs_v1(x, time_threshold)

Arguments

time_threshold

Time in seconds. If the time difference between two consecutive lines is larger or equal to time_threshold, the rows will be treated as independent pieces of activity. Defaults to 2.

Details

See events_v1 for further information.

Examples

1
2
3
#Not run
#see help of function events_v1
?events_v1()

mpio-be/SNB2 documentation built on March 27, 2020, 8:33 p.m.