| mx_lx_window | R Documentation |
Compute Mx and Lx metrics
mx_lx_window(
bouts,
time_col = "TimeUTC",
duration_col = "Duration",
intensity_col = "AGSAMean",
window,
low = TRUE
)
bouts |
A data frame sorted by time containing at minimum columns for timestamp, duration and an intensity metric. |
time_col |
Name of the column containing Unix UTC timestamps. Defaults to |
duration_col |
Name of the column containing bout durations. Defaults to |
intensity_col |
Name of the column containing bout intensity values. Defaults to |
window |
Window length in seconds. |
low |
Set to TRUE for both the maximum (Mx) and minimum (Lx) intensities are returned. If FALSE, only the maximum (Mx) is returned. |
Calculates intensity for each x duration window.
A list containing the maximum and minimum mean intensity and their corresponding start times for the supplied bouts data at a given window.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.