hidd.rel.time: hidd.rel.time

View source: R/hidd.rel.time.R

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


fritte2/ctbi documentation built on Feb. 7, 2023, 5:43 a.m.