View source: R/bout_methods_plot.R
plot.bouts | R Documentation |
Visualize the result of a bout analysis
## S3 method for class 'bouts'
plot(x, ...)
x |
the object to plot |
... |
unused |
A ggplot2
object that visualizes the bout analysis
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.