get_features: Find all the features in a profile

Description Usage Arguments Value See Also Examples

Description

find all the features of a profile

Usage

1
2
get_features(profiles, buffer_end, rest_sec = 180, degree_coef_active = 5,
  degree_coef_init_rec = 5)

Arguments

profiles

A list of profiles such as returned by get_profile used to find features.

buffer_end

The number seconds after an activity included in the profiles.

rest_sec

The number of seconds of recovery included in initial recovery period.

degree_coef_active

The degree of the polynomial fitted to active period of a profile, see profile_coefficients for details on fitting the polynomial and get_profile for a description of a profile

degree_coef_init_rec

The degree of the polynomial fitted to initial recovery period of a profile see profile_coefficients for details on fitting the polynomial and get_profile for a description of a profile

Value

Data frame containing features and labels with features from each profile on a new row.

See Also

get_profile for a description of a profile.

profile_coefficients for details of fitting the polynomials.

Other feature functions: hr_change, max_hr, profile_coefficients, resting_hr, resting_indeces, slope

Examples

1
2
profiles <- get_profiles(dfs, 200, 300, 500)
get_features(profiles, 300, 500)

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