Learn R Programming

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

xts (version 0.12.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

307,325

Version

0.12.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Joshua Ulrich

Last Published

October 16th, 2022

Functions in xts (0.12.2)

dimnames.xts

Dimnames of an xts Object
coredata.xts

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

Convert Object To And From Class xts
isOrdered

Check If A Vector Is Ordered
firstof

Create a POSIXct Object
axTicksByTime

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

Convert Object To And From Class xts
diff.xts

Lags and Differences of xts Objects
first

Return First or Last n Elements of A Data Object
endpoints

Locate Endpoints by Time
make.index.unique

Force Time Values To Be Unique
merge.xts

Merge xts Objects
na.locf.xts

Last Observation Carried Forward
period.prod

Calculate Product By Period
period.max

Calculate Max By Period
ndays

Number of Periods in Data
period.sum

Calculate Sum By Period
period.min

Calculate Min By Period
period.apply

Apply Function Over Specified Interval
.parseISO8601

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

Plotting xts Objects
sample_matrix

Sample Data Matrix For xts Example and Unit Testing
timeBased

Check if Class is Time-Based
rbind.xts

Concatenate Two or More xts Objects by Row
tclass

Extracting/Replacing the Class of an xts Index
to.period

Convert time series data to an OHLC series
split.xts

Divide into Groups by Time
periodicity

Approximate Series Periodicity
xtsInternals

Internal Documentation
timeBasedSeq

Create a Sequence or Range of Times
window.xts

Extract time windows from an xts series
xts-package

xts: extensible time-series
xtsAPI

xts C API Documentation
indexTZ

Query the TimeZone of an xts object
[.xts

Extract Subsets of xts Objects
xtsAttributes

Extract and Replace xts Attributes
xts

Create Or Test For An xts Time-Series Object
addPolygon

Add a polygon to an existing xts plot
addPanel

Add a panel to an existing xts plot
xts-class

xts for S4 classes
addLegend

Add Legend
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
apply.monthly

Apply Function over Calendar Periods
as.environment.xts

Coerce an ‘xts’ Object to an Environment by Column
CLASS

Extract and Set .CLASS Attribute