AddRoostBehavior: Adds roost behavior to dataframe

Description Usage Arguments Details Value

Description

Finds roost arrivals and departures that meet given threshold parameters

Usage

1
2
AddRoostBehavior(df, at_roost_distance_threshold, depart_timediff_max,
  arrive_timediff_max)

Arguments

df

dataframe

at_roost_distance_threshold

numeric max distance away from roost

depart_timediff_max

max diff between start of day and depart

arrive_timediff_max

max diff between end of day and arrival

Details

Adds 'bh_roost' column

Value

dataframe with 'bh_roost' column that has arrive, depart, and roost


Blakemassey/baear documentation built on Dec. 25, 2021, 9:48 a.m.