behavior_plot_log_odba: Create line plots from log ODBA data, which are colored by...

View source: R/exploring_lab_data_log_odba.R

behavior_plot_log_odbaR Documentation

Create line plots from log ODBA data, which are colored by behavior

Description

Creates image file containing a line plot for log ODBA, colored by behavior.

Usage

behavior_plot_log_odba(data, filename)

Arguments

data

A dataframe with columns Time, Behavior, ODBA

filename

String containing the first part of filename for the image files to be created

Value

None

Examples

filename <- "Custom_Lady_27Mar17_dynamic.csv"
data <- read.csv(filename)
labelled_data <- data %>% filter(!is.na(Behavior))
behavior_plot_log_odba(labelled_data, "Lady_27Mar17_plot_behavior")

longjess/hornsharkHMM documentation built on June 15, 2022, 11:32 p.m.