Access the positions of series objects.

positions(object)

Arguments

object

an object of class signalSeries.

Value

the positions associated with the input time series: an object of class numericSequence.

Examples

x <- signalSeries(1:10, from=pi, by=0.1)
positions(x)
#> from:   3.141593 
#> by:     0.1 
#> length: 10 
#> [1] 3.141593 3.241593 3.341593 ...      4.041593