Creates a visualization of discrete stress states (Low, Medium, High) over time from wearable data.
Usage
stress_chart_discrete(
.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 discrete stress states faceted by day.
See also
stress_chart() for continuous stress levels

