clseries: clseries

View source: R/clseries.R

clseriesR Documentation

clseries

Description

To visualize average movement in the arena over time, clseries splits each observation into ten even segments of the same length and visualizes relative time in zones per segment.

Usage

clseries(pathtofile, zonename, seglength, factor, factorindex, factorname)

Arguments

pathtofile

: path to folder hosting individual csv's generated by cowlog

zonename

: list of zones (generated via cldata)

seglength

: desired length (in seconds) of each segment

factor

: must be listed as either true or false, if false one location series graph is averaged acros all data, if true location series graphs are generated per factor category

factorindex

: (used if factor = TRUE) index in cowlog individual csv's filename that the factor of interest is located (separted by "_")

factorname

: (used if factor = TRUE) name of desired factor to apprear on the location series graphs

Examples

clseries(pathtofile = "C:/Users/example_files", zonename = zones, seglength = 20, factor = TRUE, factorindex = 3, factorname = "round")

kellyjwallace/cowlogdata documentation built on Dec. 2, 2023, 1:30 a.m.