Learn R Programming

ctbi (version 2.0.5)

hidd.rel.time: 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)

Value

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

Arguments

x

a vector (numeric, POSIXct or Date)

seq.bin.side

the sequence of bin sides