inst/examples/ex-rhrPoints.R

library(rhr)
data(datSH)

## Create a SpatialPoints objects with the relocation
sp <- sp::SpatialPoints(datSH[, 2:3])

## Parse time
time <- lubridate::ymd_hms(paste(datSH$day, datSH$time))

## Create an object of RhrTrackS (only space)
trackS <- rhrTrack(sp)
rhrPoints(trackS)
jmsigner/rhr documentation built on June 26, 2020, 8:59 a.m.