read.all: The function all csv files and combine

Description Usage Arguments Value

View source: R/read.all.r

Description

The function all csv files and combine

Usage

1
2
3
4
5
6
7
8
read.all(
  files,
  serialnumber = TRUE,
  direc = NULL,
  fps = NULL,
  spline = TRUE,
  threshold = 0.9
)

Arguments

[serialnumber]

if TRUE, serial number variables are added, which index each set of trajectories

[direc]

optional: directory of csv files

[fps]

optional: camera fps

[spline]

if TRUE , drop frames of low likelihood frames and interpolate with smooth spline function. Since peformance of extrapolation is serverely bad, initial and last dropped frames would be NA. Default is TRUE.

[threshold]

threshold for dropping frames if spine = TRUE. Default is .9

Value

data frame of trajectories. "ser" variable specify time series of trajectories, if serialnumber=TRUE.


HeathRossie/dlcpr documentation built on Oct. 27, 2020, 3:20 p.m.