timeBudget: Describe the Time Budget of Major Activities from...

timeBudget,TDRcalibrate,logical-methodR Documentation

Describe the Time Budget of Major Activities from "TDRcalibrate" object.

Description

Summarize the major activities recognized into a time budget.

Usage

## S4 method for signature 'TDRcalibrate,logical'
timeBudget(obj, ignoreZ)

Arguments

obj

TDRcalibrate object.

ignoreZ

logical: whether to ignore trivial aquatic periods.

Details

Ignored trivial aquatic periods are collapsed into the enclosing dry period.

Value

A data.frame with components:

phaseno

A numeric vector numbering each period of activity.

activity

A factor labelling the period with the corresponding activity.

beg, end

POSIXct objects indicating the beginning and end of each period.

Methods (by class)

  • obj = TDRcalibrate,ignoreZ = logical: Base method for computing time budget from TDRcalibrate object

Author(s)

Sebastian P. Luque spluque@gmail.com

See Also

calibrateDepth

Examples

## Too long for checks
## Continuing the Example from '?calibrateDepth':
utils::example("calibrateDepth", package="diveMove",
               ask=FALSE, echo=FALSE, run.donttest=TRUE)
dcalib		# the 'TDRcalibrate' that was created

timeBudget(dcalib, TRUE)



diveMove documentation built on Nov. 10, 2022, 5:11 p.m.