powered by
Converting a list of Track objects to a list of marked point patterns. Each mark shows the length of movement.
as.Track.arrow(X,timestamp,epsilon=epsilon)
a list of marked point patterns.
A list of Track objects
based on secs, mins,...
(optional) movements with length less than epsilon are not considered in the calculation
Mohammad Mehdi Moradi <moradi@uji.es>
Converting a list of Track objetcs to a list of marked point patterns. Marks show the length of movement with respect to the previous location.
rTrack, as.Track.ppp
if (require(spatstat.geom)) { X <- list() for(i in 1:10){ m <- matrix(c(0,10,0,10),nrow=2,byrow = TRUE) X[[i]] <- rTrack(bbox = m,transform = TRUE) } Y <- as.Track.arrow(X,timestamp="120 secs") }
Run the code above in your browser using DataLab