activity_aggregate_tRackIT: activity aggregatio

View source: R/activity_aggregate_tRackIT.R

activity_aggregate_tRackITR Documentation

activity aggregatio

Description

aggregates the activity classification to user specified intervalls of "avalue" minutes by using the class with max entries (mode) in interval

Usage

activity_aggregate_tRackIT(animal, avalue, tzone, get_data = FALSE)

Arguments

animal

list, list generated by initAnimal function

avalue

numeric, aggregation interval in minutes

tzone

string, Timezone of time data

get_data

logical, if TRUE classification will be returned as data.frame and stored in the classification folder. If FALSE classification will only be stored

Author(s)

Jannis Gottwald

Examples

#projroot<-paste0(getwd(),"/tRackIT_test_data/")
#anml<-getAnimal(projroot =projroot, animalID = "woodpecker")
#activity_aggregate_tRackIT(animal = anml, avalue = 1, tzone = "CET")


Nature40/tRackIT documentation built on Nov. 21, 2023, 3:43 a.m.