Description Usage Arguments Value See Also Examples
scales final profile into 3 regions. If unable to create profile from energy data frame nothing is returned and a warning supplied.
1 2 | get_profile(energy_df, buffer_start, buffer_end, scale, rest_sec = 180,
points = NULL)
|
energy_df |
A dataframe with "energy" format as returned by |
buffer_start |
The number of seconds before activity included in profile |
buffer_end |
The number of seconds after activity included in profile |
scale |
The number of data points in each third of the final profile |
rest_sec |
The number of seconds of recovery included in initial recovery period |
points |
A list with start and end points of activities. If NULL then it will
use |
Named list of heart rates (bpm) scaled into profile consiting of 3 regions :
resting period before activity
activity and initial recovery period
recovery after activity and inital recovery
load_tcx_file
for format of input dataframe,
start_end_points
for more on start and end points of activities.
Other profile functions: aggregate_profiles
,
get_profiles
, normalise
1 2 3 4 5 6 7 8 | get_profile(df, 500, 500, 500)
get_profile(df, 200, 200, 500, rest_sec = 180)
get_profile(df, 100, 200, 500,
points = list(
"start_point" = 600,
"end_point" = 1000
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.