| Events-class | R Documentation |
Class representation for labeled behavioral events in bio-logging data.
Events(event_data, deployid_col, datetime_col)
event_data |
|
deployid_col |
|
datetime_col |
|
Create an Events object with Events().
.dataA list of Pandas DatetimeIndexes.
# Pretend we have behavioral event data for two dogs that like to bark at a
# clock tower
barking_df <- data.frame(
dogs = rep(c("A", "B"), each = 4),
barktime = as.POSIXct("2000-01-01 06:00") + lubridate::hours(0:7)
)
barking_df
Events(barking_df, "dogs", "barktime")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.