which.row: from time stamp to row number

Description Usage Arguments Details See Also Examples

Description

from time stamp to row number

Usage

1
which.row(x, obj = ind())

Arguments

x

a POSIXct vector

Details

assumes that both times are expressed according to the same time zone.

See Also

as.POSIXct

Examples

1
2
3
4
data(exses)
ind(exses)
x <- sample(1:nrow(exses$tdr), 100)
all(which.row(exses$tdr$time[x]) == x)

SESman/rbl documentation built on May 9, 2019, 11:10 a.m.