plot_active: Plot all the activities

Description Usage Arguments Value See Also

Description

finds and plots all the activities in a energy data frame

Usage

1
2
plot_active(energy_df, p = plot_ly(), time_threshold = 15,
  rest_threshold = 5, type = "bpm", real_time = TRUE, plot_all = TRUE)

Arguments

energy_df

A dataframe with "energy" format as returned by load_tcx_file.

p

A plot to be added to.

time_threshold

The minumum number of seconds duration for an activity.

rest_threshold

The maximum number of resting seconds within and activity.

type

The type of data plotted:

  • "bpm" : plots the heart rate data in bpm

  • "deltaE" : plots the change in energy expenditure

  • "totalE" : plots the total energy expenditure

real_time

Plots data in real time or else uses indexes.

plot_all

Plots the activities and all the data from the data frame.

Value

A plotly object.

See Also

load_tcx_file for details on input format.

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


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