start_end_points: Finds the activity in an energy dataframe

Description Usage Arguments Value See Also Examples

Description

finds the first start and end points of activity in energy dataframe.

Usage

1
start_end_points(energy_df, time_threshold = 15, rest_threshold = 5)

Arguments

energy_df

An energy data frame as returned by load_tcx_file.

time_threshold

The minimum number of seconds duration of an activity.

rest_threshold

The maximum number of resting seconds within and activity.

Value

named list with start_point and end_point for the activity.

See Also

load_tcx_file for format of input dataframe

Other get activity functions: all_start_end_points, get_activities

Examples

1
2
3
start_end_points(df)
start_end_points(df, time_threshold = 30, rest_threshold = 2)
start_end_points(df, rest_threshold = 2)

VCCRI/CardiacProfileR documentation built on May 25, 2019, 2:22 p.m.