seriesLength | R Documentation |
timeSeries
Returns the length of a timeSeries
; that is, it returns the number of positions
in the timeSeries
.
seriesLength(x)
x |
an object of class |
returns the length of the timeSeries
.
This function is distinguished from the length
function, which returns
the number of series in the timeSeries
object.
timeSeries
class.
x <- timeSeries(data=data.frame(x=1:10, y=11:20), from="7/4/2000", by="bizdays")
seriesLength(x)
length(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.