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

45,100

Version

4031.107

License

GPL (>= 2)

Maintainer

Georgi Boshnakov

Last Published

August 26th, 2023

Functions in timeSeries (4031.107)

rank

Sample ranks of a time series
timeSeries-package

Utilities and tools package
durations

Durations from a 'timeSeries'
cbind

Bind 'timeSeries' objects by column or row
monthly

Special monthly series
TimeSeriesSubsettings

Subsetting time series
align-methods

Align a 'timeSeries' object to equidistant time stamps
wealth

Conversion of an index to wealth
sort

Sort a 'timeSeries' by time stamps
cumulated

Cumulated time series from returns
internals

Exported internal functions
start

Start and end of a 'timeSeries'
TimeSeriesData

Time series data sets
drawdowns

Calculations of drawdowns
splits

splits
apply

Apply functions over time windows
scale

Center and scale 'timeSeries' objects
colCum

Cumulated column statistics
runlengths

Runlengths of a time series
spreads

Spreads and mid quotes
timeSeries-method-stats

Base R functions applied to 'timeSeries' objects
dummyTimeSeries

Create dummy time series
t

Transpose 'timeSeries' objects
is.timeSeries

Check if an object is from class 'timeSeries'
comment

Get and set comments for 'timeSeries' objects
turns

Turning points of a time series
as

Convert objects to/from class 'timeSeries'
colStats

Column statistics
smooth

Smooths time series objects
periodical

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

Cumulative row statistics
returns

Financial returns
math

Mathematical operations on 'timeSeries'
rollMean

Rolling statistics
na

Handle missing values in 'timeSeries' objects
window

Methods for 'window' in package 'timeSeries'
orderStatistics

Order statistics
plot-methods

Plot 'timeSeries' objects
lag

Lag a 'timeSeries' object
orderColnames

Reorder column names of a time series
time

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

Get and set the data component of a 'timeSeries'
na.contiguous

Find longest contiguous stretch of non-NAs or check for NAs
filter

Linear filtering on a time series
isUnivariate

Checks if a time series is univariate
print-methods

Print 'timeSeries' objects
aggregate-methods

Aggregate time series
description

Creates date and user information
DataPart,timeSeries-method

DataPart,timeSeries-method
str-methods

Display the structure of 'timeSeries' objects
readSeries

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

Deprecated functions in 'timeSeries' package
TimeSeriesClass

Create objects from class 'timeSeries'
units

Get and set unit names of a 'timeSeries'
isRegular

Checks if a time series is regular
timeSeries-class

Class 'timeSeries' in package timeSeries
attributes

Get and set optional attributes of a 'timeSeries'
finCenter

Get and set Financial center of a 'timeSeries'
merge

Merge 'timeSeries' objects
sample

Resample 'timeSeries' objects
attach

Attach a 'timeSeries' to the search path
rev

Reverse a 'timeSeries'
diff

Difference a 'timeSeries' object
dimnames

Dimension and their names for 'timeSeries' objects