runlengths

0th

Percentile

Runlengths of a Time Series

Computes runlengths of an univariate 'timeSeries' object.

Keywords
chron
Usage
runlengths(x, ...)
Arguments
x
an univariate time series of class 'timeSeries'.
...
arguments to be passed.
Value

returns an object of class timeSeries.

Aliases
  • runlengths
Examples
library(timeSeries) ## random time series - set.seed(4711) x <- rnorm(12) tS <- timeSeries(data=x, charvec=timeCalendar(), units="x") tS ## return runlengths - runlengths(tS)
Documentation reproduced from package timeSeries, version 3022.101.2, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.