daily: Daily activity

View source: R/transformations.R

dailyR Documentation

Daily activity

Description

Summarizes and averages activity data over a 24-hr period, generating a 24-hr daily activity pattern for plotting. The resulting data set contains four columns reflecting the proportions of time blocks scored as active, inactive, unknonw, or total.

Usage

daily(a, pass = TRUE)

Arguments

a

Data frame. Data from output of activity().

pass

Logical. Pass 'extra' columns through the function and append them to the output.

Details

Output dates are irrelevant, as the data is tied to times, not dates. Therefore the dates are all assigned to 1970-01-01. When plotting, omit the date part of the label to accurately portray time only.

Resolution of the data is automatically detected as the same as that specified in activity().


animalnexus/feedr documentation built on Feb. 2, 2023, 1:12 a.m.