View source: R/exploring_lab_data_static.R
filtered_hist_static | R Documentation |
Creates several image files containing histograms for X_static, Y_static, Z_static aggregated by behavior. One set of images includes histograms for all behaviors in one plot, divided by data type. Another set includes X_static, Y_static, Z_static histograms in one image, divided by behavior.
filtered_hist_static(data, filename)
data |
A dataframe with columns Behavior, X_static, Y_static, Z_static |
filename |
String containing the first part of filename for the image files to be created |
None
filename <- "Custom_Lady_27Mar17_static.csv" data <- read.csv(filename) labelled_data <- data %>% filter(!is.na(Behavior)) filtered_hist_static(labelled_data, "Lady_27Mar17_histogram_filtered")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.