plot_breakpoints_behav {bayesmove} | R Documentation |
Internal function for plotting breakpoints over each of the data streams
Description
An internal function for plotting the results of the segmentation model.
Usage
plot_breakpoints_behav(data, as_date, var_names, var_labels, brkpts)
Arguments
data |
A data frame for a single animal ID that contains columns for the
ID, date or time variable, and each of the movement variables that were
analyzed by |
as_date |
logical. If |
var_names |
A vector of the column names for the movement variables to be plotted over time. |
var_labels |
A vector of the labels to be plotted on the y-axis for each
movement variable. Set to |
brkpts |
A data frame that contains the breakpoints associated with each
animal ID. This data frame is returned by |
Value
A line plot for each movement variable showing how the estimated
breakpoints relate to the underlying data. Depending on the user input for
var_names
, this may either be on the scale of the original
continuous data or the discretized data.