Learn R Programming

cycleRtools (version 1.0.0)

zone_time: Calculate time in zones.

Description

Given a vector of zone boundaries, sums the time spent in each zone.

Usage

zone_time(data, column = "power.W", zbounds, pct = FALSE)

Arguments

data
a formatted dataset produced by read*().
column
the column name of the data to which the zone boundaries relate.
zbounds
numeric; zone boundaries.
pct
should percentage values be returned?

Value

  • a data frame of zone times.