Learn R Programming

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

The R package 'timeSeries' provides a time series class and tools for creation, import, manipulation, statistical and financial computations on time series.

Package timeSeries is part of the Rmetrics suite of R packages and is developed on R-forge at timeSeries. The root of Rmetrics is at R-forge.

Installing timeSeries

Install the latest stable version of timeSeries from CRAN:

install.packages("timeSeries")

You can install the development version of timeSeries from R-forge:

install.packages("timeSeries", repos = "http://R-Forge.R-project.org")

To report bugs visit Rmetrics.

Documentation

You can view the documentation of timeSeries at timeSeriesDoc (an web site produce with pkgdown) or download the reference manual of the latest release from CRAN. There is also a large vignette on plots.

Copy Link

Version

Install

install.packages('timeSeries')

Monthly Downloads

41,508

Version

4032.109

License

GPL (>= 2)

Maintainer

Georgi Boshnakov

Last Published

January 14th, 2024

Functions in timeSeries (4032.109)

dimnames

Dimension and their names for 'timeSeries' objects
sample

Resample 'timeSeries' objects
diff

Difference a 'timeSeries' object
start

Start and end of a 'timeSeries'
TimeSeriesSubsettings

Subsetting time series
periodical

End-of-Period series, stats, and benchmarks
rank

Sample ranks of a time series
returns

Financial returns
t

Transpose 'timeSeries' objects
merge

Merge 'timeSeries' objects
plot-methods

Plot 'timeSeries' objects
scale

Center and scale 'timeSeries' objects
TimeSeriesData

Time series data sets
print-methods

Print 'timeSeries' objects
attach

Attach a 'timeSeries' to the search path
cbind

Bind 'timeSeries' objects by column or row
na

Handle missing values in 'timeSeries' objects
wealth

Conversion of an index to wealth
apply

Apply functions over time windows
cumulated

Cumulated time series from returns
internals

Exported internal functions
align-methods

Align a 'timeSeries' object to equidistant time stamps
window

Methods for 'window' in package 'timeSeries'
attributes

Get and set optional attributes of a 'timeSeries'
timeSeries-package

Utilities and tools package
sort

Sort a 'timeSeries' by time stamps
filter

Linear filtering on a time series
aggregate-methods

Aggregate time series
runlengths

Runlengths of a time series
dummyTimeSeries

Create dummy time series
splits

splits
durations

Durations from a 'timeSeries'
finCenter

Get and set Financial center of a 'timeSeries'
drawdowns

Calculations of drawdowns
timeSeries-method-stats

Base R functions applied to 'timeSeries' objects
turns

Turning points of a time series
units

Get and set unit names of a 'timeSeries'
spreads

Spreads and mid quotes
rowCum

Cumulative row statistics
TimeSeriesClass

Create objects from class 'timeSeries'
monthly

Special monthly series
is.timeSeries

Check if an object is from class 'timeSeries'
colCum

Cumulated column statistics
math

Mathematical operations on 'timeSeries'
na.contiguous

Find longest contiguous stretch of non-NAs or check for NAs
DataPart,timeSeries-method

DataPart,timeSeries-method
as

Convert objects to/from class 'timeSeries'
comment

Get and set comments for 'timeSeries' objects
orderStatistics

Order statistics
lag

Lag a 'timeSeries' object
smooth

Smooths time series objects
description

Creates date and user information
rollMean

Rolling statistics
isRegular

Checks if a time series is regular
isUnivariate

Checks if a time series is univariate
readSeries

Read a 'timeSeries' from a text file
timeSeries-class

Class 'timeSeries' in package timeSeries
str-methods

Display the structure of 'timeSeries' objects
timeSeries-deprecated

Deprecated functions in 'timeSeries' package
colStats

Column statistics
orderColnames

Reorder column names of a time series
series-methods

Get and set the data component of a 'timeSeries'
time

Get and set time stamps of a 'timeSeries'
rev

Reverse a 'timeSeries'