Description Usage Arguments Value Examples
Caclulate dwell time (/residence time) for trajecotries.
1 2 |
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. |
dwell time list A list of dwell time for all trajectories, separated by file names of the trajectory file in Diatrack file folder. If combined dwell time is intended, use readDiatrack(folder, merge=TRUE) to generate a single length list, then apply this function.
PDF dwell time frequency plot in PDF format, when plot = TRUE.
csv dwell time output in csv format, when output = TRUE.
1 2 3 | folder=system.file('extdata','SWR1',package='sojourner')
trackll=createTrackll(folder=folder, input=3)
dwellTime(trackll,plot=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.