Skip to contents

Creates a visualization of activity intensity levels (Sedentary, Low, Medium, High) over time from wearable data.

Usage

activity_intensity_chart(
  .data,
  start = "start_time",
  end = "end_time",
  variable = "variable",
  value = "value",
  tz_offset = "tz_offset"
)

Arguments

.data

A data frame containing the wearable data.

start

The name of the column containing start timestamps. Defaults to "start_time".

end

The name of the column containing end timestamps. Defaults to "end_time".

variable

The name of the column containing variable names. Defaults to "variable".

value

The name of the column containing measurement values. Defaults to "value".

tz_offset

The name of the column containing timezone offsets. Defaults to "tz_offset".

Value

A ggplot2::ggplot object displaying activity intensity levels over time.

See also

activity_chart() for activity types, steps_chart() for step counts

Examples

if (FALSE) { # \dontrun{
# Activity intensity are not available in the example data,
# but this is how you would show them:
activity_intensity_chart(dynamic_data)
} # }