setRange: setRange

Description Usage Arguments Details Value Author(s) Examples

Description

Set the index range based on requested time limits

Usage

1
setRange(Time, Start = 0, End = 0)

Arguments

Time

A POSIXct-format Time variable or a data.frame containing such a variable

Start

The desired start time in HHMMSS format (defaults to 0, which gives first index 1)

End

The desired end time in HHMMSS format (defaults to the last time in the array)

Details

For time variable Time, finds indices that match the supplied start and end times and returns the result as a sequence

Value

A vector of indices corresponding to times in the requested time interval (inclusive).

Author(s)

William Cooper

Examples

1
r <- setRange (RAFdata, 201100, 201200)

WilliamCooper/Ranadu documentation built on July 10, 2019, 12:40 a.m.