| MakeTrack | R Documentation | 
Simple convenience function for creating a track class object from X-Y-Time movement data. A track class object can be conveniently plotted and analyzed within bcpa.
MakeTrack(X, Y, Time)
X | 
 vector of X locations  | 
Y | 
 vector of Y locations  | 
Time | 
 vector of time (can be POSIX)  | 
a track class data frame, with three columns: X, Y and Time.
plot.track
X <- cumsum(arima.sim(n=100, model=list(ar=0.8))) Y <- cumsum(arima.sim(n=100, model=list(ar=0.8))) Time <- 1:100 mytrack <- MakeTrack(X,Y,Time) plot(mytrack)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.