DataSlice: Truncate Given Dataframe According to Given Time Window

Description Usage Arguments Value

Description

The input dataframe should have a column named 'Time'. If both 'time1', 'time2' and 'last' were given, then the actual window size should the smaller of (time2 - time1) and 'last'.

Usage

1
DataSlice(df, time1 = 000001, time2 = 235959, last = 24 * 3600)

Arguments

df

dataframe to be truncated.

time1

lower bound of the time window.

time2

upper bound of the time window.

last

width od the time window.

Value

A dataframe, or NA if no entries satisfy the given time window.



Search within the TickExec package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.