hidd.rel.time {ctbi}R Documentation

hidd.rel.time

Description

calculate the relative position of each timestep of a vector with respect to the bin boundaries.

Usage

hidd.rel.time(x, seq.bin.side)

Arguments

x

a vector (numeric, POSIXct or Date)

seq.bin.side

the sequence of bin sides

Value

the relative position of each value of x with respect to the bins in seq.bin.side (between 0 and 1)


[Package ctbi version 2.0.5 Index]