Nothing
### extract number of locations from Move
if (!isGeneric("n.locs", where = topenv(parent.frame()))) {
setGeneric("n.locs", function(obj) standardGeneric("n.locs"))
}
setMethod("n.locs", "SpatialPointsDataFrame", function(obj) {
return(length(coordinates(obj)[, 1]))
})
setMethod("n.locs", ".MoveTrackStack", function(obj) {
unlist(tapply(obj@trackId, obj@trackId, length))
})
# setMethod("n.locs", ".unUsedRecordsStack", function(obj){
# unlist(tapply(obj@trackIdUnUsedRecords, obj@trackIdUnUsedRecords, length))
# })
#
# setMethod("n.locs", ".unUsedRecords", function(obj){
# length( obj@timestampsIdUnUsedRecords)
# })
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.