Skip to contents

All functions

CLASS() `CLASS<-`()
Extract and Set .CLASS Attribute
addEventLines()
Add vertical lines to an existing xts plot
addLegend()
Add Legend
addPanel()
Add a panel to an existing xts plot
addPolygon()
Add a polygon to an existing xts plot
addSeries()
Add a time series to an existing xts plot
adj.time() align.time() shift.time()
Align seconds, minutes, and hours to beginning of next period.
apply.daily() apply.weekly() apply.monthly() apply.quarterly() apply.yearly()
Apply Function over Calendar Periods
as.environment(<xts>)
Coerce an xts Object to an Environment by Column
as.xts() xtsible()
Convert Objects To and From xts
axTicksByTime()
Compute x-Axis Tickmark Locations by Time
coredata(<xts>) xcoredata() `xcoredata<-`()
Extract/Replace Core Data of an xts Object
lag(<xts>) diff(<xts>)
Lags and Differences of xts Objects
dimnames(<xts>) `dimnames<-`(<xts>)
Dimnames of an xts Object
endpoints()
Locate Endpoints by Time
first() last()
Return First or Last n Elements of A Data Object
firstof() lastof()
Create a POSIXct Object
index(<xts>) `index<-`(<xts>) `time<-`(<xts>) time(<xts>) .index() `.index<-`() .indexsec() .indexmin() .indexhour() .indexmday() .indexmon() .indexyear() .indexwday() .indexbday() .indexyday() .indexisdst() .indexDate() .indexday() .indexweek() .indexyweek() convertIndex()
Get and Replace the Class of an xts Index
isOrdered()
Check If A Vector Is Ordered
is.index.unique() is.time.unique() make.index.unique() make.time.unique()
Force Time Values To Be Unique
merge(<xts>) cbind(<xts>)
Merge xts Objects
na.locf(<xts>)
Last Observation Carried Forward
nseconds() nminutes() nhours() ndays() nweeks() nmonths() nquarters() nyears()
Number of Periods in Data
.parseISO8601()
Internal ISO 8601:2004(e) Time Parser
period.apply()
Apply Function Over Specified Interval
period.sum() period.prod() period.max() period.min()
Optimized Calculations By Period
periodicity()
Approximate Series Periodicity
plot(<xts>) lines(<xts>) points(<xts>)
Plotting xts Objects
print(<xts>)
Print An xts Time-Series Object
c(<xts>) rbind(<xts>)
Concatenate Two or More xts Objects by Row
try.xts() reclass() Reclass()
Convert Objects to xts and Back to Original Class
sample_matrix
Sample Data Matrix For xts Example and Unit Testing
split(<xts>)
Divide into Groups by Time
`[`(<xts>)
Extract Subsets of xts Objects
tclass() `tclass<-`() indexClass() `indexClass<-`()
Get or Replace the Class of an xts Object's Index
tformat() `tformat<-`() indexFormat() `indexFormat<-`()
Get or Replace the Format of an xts Object's Index
is.timeBased() timeBased()
Check if Class is Time-Based
timeBasedRange() timeBasedSeq()
Create a Sequence or Range of Times
to.period() to.minutes() to.minutes3() to.minutes5() to.minutes10() to.minutes15() to.minutes30() to.hourly() to.daily() to.weekly() to.monthly() to.quarterly() to.yearly()
Convert time series data to an OHLC series
indexTZ() tzone() `indexTZ<-`() `tzone<-`()
Get or Replace the Timezone of an xts Object's Index
window(<xts>)
Extract Time Windows from xts Objects
xts-internals
Internal Documentation
xts-package
xts: extensible time-series
xts() .xts() is.xts()
Create or Test For An xts Time-Series Object
xtsAPI
xts C API Documentation
xtsAttributes() `xtsAttributes<-`()
Extract and Replace xts Attributes