Description Usage Arguments Value Examples
calculate square displacement of a track/trajectory as a function of time/step. data.frame has two column, x and y also calculate dx, dy bivariate squareDispCpp is the cpp version of squareDisp
1 2 | squareDisp(track,dt=1,resolution=0.107)
squareDispCpp(track,dt=1,resolution=0.107)
|
track |
track dataframe with x and y coordinates. |
dt |
time step size(in frames). |
resolution |
resolution value, default is 0.107. |
list of square displacements(dx^2 + dy^2) for varying dt values from 1 to dt
1 2 3 4 5 6 | folder1=system.file('extdata','SWR1',package='sojourner')
folder2=system.file('extdata','HTZ1',package='sojourner')
trackll=compareFolder(folders=c(folder1,folder2), input=3)
#use default filter with min=7
filtered.trackll=filterTrack(trackll)
track.dt=squareDisp(filtered.trackll[[1]][[1]],dt=6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.