plot.bouts: Visualize the result of a bout analysis

View source: R/bout_methods_plot.R

plot.boutsR Documentation

Visualize the result of a bout analysis

Description

Visualize the result of a bout analysis

Usage

## S3 method for class 'bouts'
plot(x, ...)

Arguments

x

the object to plot

...

unused

Value

A ggplot2 object that visualizes the bout analysis

Examples

data(example_data, package = "PBpatterns")
intensity <- cut(
  example_data$PAXINTEN,
  c(-Inf, 101, 760, Inf),
  c("SB", "LPA", "MVPA"),
  right = FALSE
)
bouts <- analyze_bouts(
  intensity, "MVPA", "Troiano_MVPA", epoch_length_sec = 60
)
# plot(bouts)

paulhibbing/PBpatterns documentation built on Feb. 17, 2024, 5:34 a.m.