positions: Positions of 'series' Objects

positionsR Documentation

Positions of series Objects

Description

Accesses the positions of series objects.

Usage

positions(object)
positions(object) <- value

Arguments

object

the object for which to find positions.

value

the value to which to set the positions.

Details

This function can also be used on the left side of an assignment to set the positions of a series object.

Value

returns the positions slot of object.

See Also

seriesData, timeSeries, signalSeries.

Examples

x <- signalSeries(pos=1:10, data=11:20) 
positions(x) 
positions(x) <- 11:20 

splusTimeSeries documentation built on July 8, 2022, 1:06 a.m.