timeSeries
Returns the length of a timeSeries; that is, it returns the number of positions in the timeSeries.
seriesLength(x)
an object of class timeSeries.
returns the length of the timeSeries.
'>timeSeries class.
'>timeSeries
# NOT RUN { x <- timeSeries(data=data.frame(x=1:10, y=11:20), from="7/4/2000", by="bizdays") seriesLength(x) length(x) # }
Run the code above in your browser using DataLab