rhrHasTS: Checks if the track has a time stamp.

Description Usage Arguments See Also Examples

View source: R/rhrTrackMethods.R

Description

Retunrs TRUE if the track has time stamps and FALSE otherwise.

Usage

1

Arguments

x

Object inheriting RhrTrack*.

...

None implemented.

See Also

rhrTrack for fruther details and examples on how to create a RhrTrack* object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
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)

## Create an object of RhrTrackST (only space)
trackST <- rhrTrack(sp, time)

rhrHasTS(trackS)
rhrHasTS(trackST)

jmsigner/rhr documentation built on June 26, 2020, 8:59 a.m.