plot_features_profile: Plots all the features of a profile

Description Usage Arguments Value See Also Examples

Description

plots:

Usage

1
2
plot_features_profile(profile, buffer_end, p = NULL, label = "Features",
  join_feat = FALSE, col = get_color(0), annotate_max_hr = TRUE)

Arguments

profile

A profile to get features from See get_profile for a description of profile.

buffer_end

The number seconds before activity included in profile.

p

Plot to be added to.

label

of the profile being plotted

join_feat

plots all the features as one color and legend group, useful for plotting features of multiple profiles

col

Color of the features when join_feat is true

annotate_max_hr

Add an annotation to the maximum heart rate

Value

plot with the features of a profile

See Also

get_profile for a description of profile.

Other plotting functions: add_sections, get_color, get_energy_profiles, min_max_plot, plot_3d_landscape, plot_3d_profiles, plot_active, plot_features_profiles, plot_profiles, plot_profile

Examples

1
2
3
4
5
6
7
8
   profile1 <- get_profile(df1, 300, 200, 500)
   plot_features(profile1, 200)

   profile2 <- get_profile(df2, 300, 200, 500)
   plot_features(profile2, 200, label = "The best features")

   p <- plot_features(profile1, 200, join_feat = TRUE)
   plot_features(profile2, 200, p = p, join_feat = TRUE, col = "orange")

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