| trim | R Documentation |
Removes time series data which lie beyond a specified time interval.
trim(x, ...)
## S3 method for class 'data.frame'
trim(x, range, ...)
## S3 method for class 'probe'
trim(x, range, start.time, stop.time, buffer = 0, ...)
x |
Data object containing time series data. |
range |
Two-element vector specifying the time range of data beyond which data frame records will be removed.
|
start.time, end.time |
Time bounds beyind which probe data are to be truncated. If left unspecified, start and end times are determined from the project study data, such as set/tow data. |
trim(data.frame): Removes time series data which lie beyond a specified time interval for a data.frame object.
trim(probe): Removes time series data which lie beyond start and end times for a probe object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.