get_data: Function to Get Data for X seconds from raw file.

Description Usage Arguments Value Examples

View source: R/get_data.R

Description

Function to Get Data for X seconds from raw file.

Usage

1
get_data(df, secs = 300, fr = 30, burnin = 0)

Arguments

df

raw dataframe from python output

secs

number of seconds to get data for from beginning

fr

frame rate of camera

burnin

- number of frames to ignore

Value

a data frame including Frame number, X and Y coordinates, distance traveled per frame, and total distance

Examples

1
2
get_data(df, secs=300, fr=30, burnin=0)
get_data(data, secs=600, fr=60, burnin=5)

ty14/ezTrackR documentation built on Nov. 5, 2019, 11:02 a.m.