compute_breaks {trackeR} | R Documentation |
Compute a grid of breakpoints per variable from a trackeRdata
object.
Description
Compute a grid of breakpoints per variable from a trackeRdata
object.
Usage
compute_breaks(
object,
a = 1e-04,
n_breaks = 9,
limits = NULL,
what = c("speed", "heart_rate")
)
Arguments
object |
A |
a |
The levels at which quantiles will be computed are
|
n_breaks |
A scalar determining the number of breakpoints to be computed |
limits |
A list of a vectors, each specifying the lower and
upper limit for each variable to be used when computing the
grid. Default is |
what |
The variables for which a grid of breakpoints should be
computed. Defaults to |
Value
A named list with names as in what
, with elements the grids
of breakpoints per variable.
Examples
data("runs")
compute_breaks(runs, what = c("speed", "heart_rate", "altitude"))
[Package trackeR version 1.6.0 Index]