View source: R/exploring_lab_data_dynamic.R
behavior_plot_dynamic | R Documentation |
Create one image file containing line plots for X_dynamic, Y_dynamic, Z_dynamic, and another image file containing a line plot for ODBA. Each line plot is colored by behavior.
behavior_plot_dynamic(data, filename)
data |
A dataframe with columns Time, 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_plot_dynamic(labelled_data, "Lady_27Mar17_plot_behavior")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.