Description Usage Arguments Value
View source: R/segmentation_helper_functions.R
An internal function for plotting the results of the segmentation model.
1 | plot_breakpoints_behav(data, as_date, var_names, var_labels, brkpts)
|
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 |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.