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 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

4030.106

License

GPL (>= 2)

Maintainer

Georgi Boshnakov

Last Published

May 25th, 2023

Functions in timeSeries (4030.106)

dimnames

Time series columns and rows
attach

Attach a 'timeSeries' to the search path
cbind

Bind "timeSeries" objects by column or row
rev

Reversion of a 'timeSeries'
rank

Sample ranks of a time series
diff

Difference a 'timeSeries' object
sample

Resample 'timeSeries' objects
timeSeries-package

Utilities and tools package
merge

Merge 'timeSeries' objects
apply

Apply functions over time series periods
t

Transpose 'timeSeries' objects
start

Start and end of a 'timeSeries'
TimeSeriesSubsettings

Subsetting time series
scale

Center and scale 'timeSeries' objects
splits

splits
align-methods

Align a 'timeSeries' object to equidistant time stamps
TimeSeriesData

Time series data sets
cumulated

Cumulated time series from returns
sort

Sort a 'timeSeries' by time stamps
dummyTimeSeries

Dummy time series
monthly

Special monthly series
durations

Durations from a 'timeSeries'
periodical

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

Financial returns
runlengths

Runlengths of a time series
colCum

Cumulated Column Statistics
as

Coercion and transformation to/from class 'timeSeries'
turns

Turning points of a time series
drawdowns

Calculations of drawdowns
wealth

Conversion of an index to wealth
internals

Exported internal functions
filter

Linear filtering on a time series
SpecialDailySeries

Special daily time series
lag

Lag a 'timeSeries' object
spreads

Spreads and mid quotes
print-methods

Print 'timeSeries' objects
smooth

Smoothes time series objects
model.frame

Model frames for time series objects
aggregate-methods

Aggregate time series
na.contiguous

Find longest contiguous stretch of non-NAs
timeSeries-method-stats

Time Series Correlations
colStats

Column statistics
plot-methods

Plot a time series
math

Mathematical time series operations
timeSeries-deprecated

Deprecated functions in 'timeSeries' package
rowCum

Cumulative column and row statistics
rollMean

Rolling statistics
timeSeries-class

Class 'timeSeries' in package timeSeries
readSeries

Read a 'timeSeries' from a text file
is.timeSeries

Check if an object is from class 'timeSeries'
orderStatistics

Order statistics
finCenter

Get and set Financial center of a 'timeSeries'
orderColnames

Reorder column names of a time series
description

Creates date and user information
attributes

Get and set optional attributes of a 'timeSeries'
DataPart,timeSeries-method

DataPart,timeSeries-method
isUnivariate

Checks if a time series is univariate
units

Get and set unit names of a 'timeSeries'
TimeSeriesClass

Create objects from class 'timeSeries'
isRegular

Checks if a time series is regular
comment

Get and set comments for 'timeSeries' objects
str-methods

timeSeries object structure
na

Handling missing time series values
time

Get and set time stamps of a 'timeSeries'
series-methods

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

Methods for 'window' in package 'timeSeries'