If your xts
object is called x
then something like y <- x["T09:30/T11:00"]
works for me to get a slice of the morning session, for example.
More Related Contents:
- Conversion of a data into time series object
- Basic lag in R vector/dataframe
- Converting a data frame to xts
- Forecasting time series data
- Return data subset time frames within another timeframes?
- Creating regular 15-minute time-series from irregular time-series
- Fill NA in a time series only to a limited number
- How can I change XTS to data.frame and keep Index?
- Plotting two variables as lines using ggplot2 on the same graph
- Convert hour:minute:second (HH:MM:SS) string to proper time class
- Measuring function execution time in R
- Convert UNIX epoch to Date object
- How to get a vertical geom_vline to an x-axis of class date?
- Reshaping time series data from wide to tall format (for plotting) [duplicate]
- How to convert dataframe into time series?
- Display a time clock in the R command line
- Difference between as.POSIXct/as.POSIXlt and strptime for converting character vectors to POSIXct/POSIXlt
- Join R data.tables where key values are not exactly equal–combine rows with closest times
- Transforming a time-series into a data frame and back
- Multiple time series in one plot
- Rolling Sum by Another Variable in R
- How to convert time (mm:ss) to decimal form in R
- merging a large list of xts objects
- Create sequential counter that restarts on a condition within panel data groups [duplicate]
- Time series plot gets offset by 2 hours if scale_x_datetime is used
- R: convert date from character to datetime [duplicate]
- Convert decimal day to HH:MM
- R issue with rounding milliseconds
- optimized rolling functions on irregular time series with time-based window
- Interpolating timeseries