positions | R Documentation |
series
Objects
Accesses the positions of series
objects.
positions(object)
positions(object) <- value
object |
the object for which to find positions. |
value |
the value to which to set the positions. |
This function can also be used on the left side of an assignment
to set the positions of a series
object.
returns the positions
slot of object
.
seriesData
, timeSeries
, signalSeries
.
x <- signalSeries(pos=1:10, data=11:20)
positions(x)
positions(x) <- 11:20
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.