cvision_to_timeseries: Function to convertmerged_cvision_csv to fish time-series for...

View source: R/cvision_to_timeseries.R

cvision_to_timeseriesR Documentation

Function to convertmerged_cvision_csv to fish time-series for all species

Description

Uses a sliding window of specified size to convert a merged_cvision_csv to fish time-series for all species by summing all observations within that window

Usage

cvision_to_timeseries(
  merged_cvision_csv,
  window_size,
  vid_start = 0,
  vid_end,
  vid_length = 1,
  fps,
  by_species = TRUE
)

Arguments

merged_cvision_csv

Output from merge_cvison_csv

window_size

size of sliding window in frames

vid_start

number of start video (default=0)

vid_end

number of end video

vid_length

length of video in minutes (default=1)

fps

frames per second of videos

by_species

If TRUE (default) will generate a time-series for each species. If FALSE will create one general time series


ailich/mytools documentation built on Jan. 7, 2023, 11:16 a.m.