dwellTime-methods: dwellTime

Description Usage Arguments Value Examples

Description

Caclulate dwell time (/residence time) for trajecotries.

Usage

1
2
dwellTime(trackll,t.interval=10,x.scale=c(min=0,max=250),plot=TRUE,
output=FALSE)

Arguments

t.interval

t.interval time, default = 10ms.

trackll

Track list output from readDiatrack().

x.scale

x-scale min and max range.

plot

An Logical indicate if plot should be generated. If plot = TRUE, the plot data will also be output.

output

An Logical indicate if output should be generated. 1) dwell time of tracks in the track list output to csv file. Each item in the list will have an individual csv file. 2) Plot PDF and plot data will be saved.

Value

Examples

1
2
3
folder=system.file('extdata','SWR1',package='sojourner')
trackll=createTrackll(folder=folder, input=3)
dwellTime(trackll,plot=TRUE)

sheng-liu/sojourner documentation built on April 2, 2021, 2:30 a.m.