Learn R Programming

⚠️There's a newer version (0.14.1) of this package.Take me there.

xts (version 0.13.0)

eXtensible Time Series

Description

Provide for uniform handling of R's different time-based data classes by extending zoo, maximizing native format information preservation and allowing for user level customization and extension, while simplifying cross-class interoperability.

Copy Link

Version

Install

install.packages('xts')

Monthly Downloads

382,356

Version

0.13.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

February 20th, 2023

Functions in xts (0.13.0)

addSeries

Add a time series to an existing xts plot
addLegend

Add Legend
index.xts

Get and Replace the Class of an xts Index
coredata.xts

Extract/Replace Core Data of an xts Object
diff.xts

Lags and Differences of xts Objects
addPanel

Add a panel to an existing xts plot
axTicksByTime

Compute x-Axis Tickmark Locations by Time
as.xts.methods

Convert Object To And From Class xts
isOrdered

Check If A Vector Is Ordered
apply.monthly

Apply Function over Calendar Periods
period.max

Calculate Max By Period
first

Return First or Last n Elements of A Data Object
dimnames.xts

Dimnames of an xts Object
endpoints

Locate Endpoints by Time
period.prod

Calculate Product By Period
period.apply

Apply Function Over Specified Interval
.parseISO8601

Internal ISO 8601:2004(e) Time Parser
na.locf.xts

Last Observation Carried Forward
period.min

Calculate Min By Period
[.xts

Extract Subsets of xts Objects
period.sum

Calculate Sum By Period
print.xts

Print An xts Time-Series Object
sample_matrix

Sample Data Matrix For xts Example and Unit Testing
split.xts

Divide into Groups by Time
tzone

Get or Replace the Timezone of an xts Object's Index
tclass

Get or Replace the Class of an xts Object's Index
firstof

Create a POSIXct Object
xtsAttributes

Extract and Replace xts Attributes
rbind.xts

Concatenate Two or More xts Objects by Row
make.index.unique

Force Time Values To Be Unique
merge.xts

Merge xts Objects
ndays

Number of Periods in Data
periodicity

Approximate Series Periodicity
xtsInternals

Internal Documentation
xts-package

xts: extensible time-series
tformat

Get or Replace the Format of an xts Object's Index
timeBased

Check if Class is Time-Based
timeBasedSeq

Create a Sequence or Range of Times
plot.xts

Plotting xts Objects
window.xts

Extract time windows from an xts series
xts

Create Or Test For An xts Time-Series Object
to.period

Convert time series data to an OHLC series
xtsAPI

xts C API Documentation
CLASS

Extract and Set .CLASS Attribute
addEventLines

Add vertical lines to an existing xts plot
addPolygon

Add a polygon to an existing xts plot
as.environment.xts

Coerce an ‘xts’ Object to an Environment by Column
as.xts

Convert Object To And From Class xts
align.time

Align seconds, minutes, and hours to beginning of next period.