mapIdxToTime: Establishes mapping back from index to time

Description Usage Arguments Value

Description

Takes a time vector and index vector of same length. This function create a new time vector given indices specified in idx. For NA indices it uses last index to fill time value. For NA appearing at the start of idx, it uses next index to get time value.

Usage

1
mapIdxToTime(timeVec, idx)

Arguments

timeVec

A numeric vector

idx

An integer vector

Value

A mutated time vector


shubham1637/DIAlignR documentation built on May 8, 2019, 8:12 a.m.