Fill_IF: ReVuePro: Fill_IF

Description Usage Arguments Examples

View source: R/Fill_IF_function.R

Description

A function that identifies 'start' and 'end' positions in a dataframe and replaces them with presence values of '1'.

Usage

1
Fill_IF(data, image_folder, vid, ffmpeg_path = "DEFAULT", ips = 8)

Arguments

data

The path to your .csv file that requires filling. There is no default input.

image_folder

The path to your images used to construct the data in .csv form. There is no default input.

vid

A path to the video file that images with motion were initially extracted from.

ffmpeg_path

A path to ffmpeg.exe. Default path is assigned by the ffmpeg_dir function.

ips

The frame-rate at which images were extracted from the input video, as applied in motion_sense. Default is 8.

Examples

1
2
3
setwd("C:/Users/Yukon/Desktop/BirdVids")
Present_Birds<-Fill_IF("Bird Video Output.csv", "./BirdImages"))
print(Present_Birds)

joshuakrobertson/R-Package_ReVuePro documentation built on June 2, 2020, 8:23 p.m.