View source: R/exploring_lab_data_dynamic.R
behavior_hist_dynamic | R Documentation |
Creates several image files. Each image file contains histograms aggregating a given data type (X_dynamic, Y_dynamic, Z_dynamic, ODBA) over each behavior interval for a given behavior. A behavior interval is a time interval in which the behavior remains constant. Each behavior interval is labelled by a number, in chronological order. If there are many behavior intervals for a given behavior, the plot may be hard to read.
behavior_hist_dynamic(data, filename)
data |
A dataframe with columns Behavior, X_dynamic, Y_dynamic, Z_dynamic, ODBA |
filename |
String containing the first part of filename for the image files to be created |
None
filename <- "Custom_Lady_27Mar17_dynamic.csv" data <- read.csv(filename) labelled_data <- data %>% filter(!is.na(Behavior)) behavior_hist_dynamic(labelled_data, "Lady_27Mar17_histogram_behavior")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.