Learn R Programming

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

xts (version 0.13.2)

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

410,193

Version

0.13.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

January 21st, 2024

Functions in xts (0.13.2)

diff.xts

Lags and Differences of xts Objects
dimnames.xts

Dimnames of an xts Object
axTicksByTime

Compute x-Axis Tickmark Locations by Time
endpoints

Locate Endpoints by Time
firstof

Create a POSIXct Object
first

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

Convert Object To And From Class xts
index.xts

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

Extract/Replace Core Data of an xts Object
isOrdered

Check If A Vector Is Ordered
period.sum

Calculate Sum By Period
period.max

Calculate Max By Period
period.min

Calculate Min By Period
.parseISO8601

Internal ISO 8601:2004(e) Time Parser
ndays

Number of Periods in Data
period.prod

Calculate Product By Period
make.index.unique

Force Time Values To Be Unique
period.apply

Apply Function Over Specified Interval
merge.xts

Merge xts Objects
sample_matrix

Sample Data Matrix For xts Example and Unit Testing
na.locf.xts

Last Observation Carried Forward
[.xts

Extract Subsets of xts Objects
print.xts

Print An xts Time-Series Object
tclass

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

Approximate Series Periodicity
timeBased

Check if Class is Time-Based
plot.xts

Plotting xts Objects
split.xts

Divide into Groups by Time
rbind.xts

Concatenate Two or More xts Objects by Row
tformat

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

Extract and Replace xts Attributes
window.xts

Extract time windows from an xts series
xts-package

xts: extensible time-series
xtsInternals

Internal Documentation
to.period

Convert time series data to an OHLC series
tzone

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

Create a Sequence or Range of Times
xtsAPI

xts C API Documentation
xts

Create Or Test For An xts Time-Series Object
align.time

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

Add a time series to an existing xts plot
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
as.environment.xts

Coerce an ‘xts’ Object to an Environment by Column
apply.monthly

Apply Function over Calendar Periods
CLASS

Extract and Set .CLASS Attribute
as.xts

Convert Object To And From Class xts