behavior_plot_static: Create line plots from static data, which are colored by...

View source: R/exploring_lab_data_static.R

behavior_plot_staticR Documentation

Create line plots from static data, which are colored by behavior

Description

Creates an image file containing line plots for X_static, Y_static, Z_static. Each line plot is colored by behavior.

Usage

behavior_plot_static(data, filename)

Arguments

data

A dataframe with columns Time, Behavior, X_static, Y_static, Z_static

filename

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

Value

None

Examples

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

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