profile_coefficients: Get coefficients of fitted polynomial

Description Usage Arguments Value See Also

Description

get the coefficients of polynomial fitted to aspects of a heart rate dynamic profile

Usage

1
profile_coefficients(profile, start, end, degree, model_out = FALSE)

Arguments

profile

A profile that the polynomial is fitted to. See get_profile for a description of profile.

start

Index to start fitting the polynomial.

end

Index to end fitting the polynomial.

degree

Degree of the polynomial.

model_out

Return entire model or else just return the coefficients of the model.

Value

coefficients of the model fit the region of the profile specified.

See Also

get_profile for a description of profile.

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


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