dwellTime-methods: dwellTime

Description Usage Arguments Value Examples

Description

Caclulate dwell time (/residence time) for trajecotries.

Usage

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

Arguments

t.interval

t.interval time, default = 10ms.

trackll

Track list output from readDiatrack().

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="smt")
trackll=readDiatrack(folder)
dwellTime(trackll,plot=TRUE)

sheng-liu/smt documentation built on May 29, 2019, 9:22 p.m.