series
Accesses the positions of series objects.
positions(object) positions(object) <- value
the object for which to find positions.
the value to which to set the positions.
returns the positions slot of object.
positions
object
This function can also be used on the left side of an assignment to set the positions of a series object.
seriesData, '>timeSeries, '>signalSeries.
seriesData
'>timeSeries
'>signalSeries
# NOT RUN { x <- signalSeries(pos=1:10, data=11:20) positions(x) positions(x) <- 11:20 # }
Run the code above in your browser using DataCamp Workspace