Generate a sequence of nanoduration
## S3 method for class 'nanoduration'
seq(from, to = NULL, by = NULL, length.out = NULL, along.with = NULL, ...)
from, to
|
the starting and (maximal) end values of the sequence |
by
|
the increment of the sequence |
length.out
|
integer indicating the desired length of the sequence |
along.with
|
take the length from the length of this argument. |
…
|
arguments passed to or from methods |
library("nanotime")
seq(from=as.nanoduration(0), by=as.nanoduration("01:00:00"), length.out=10)
[1] 00:00:00 01:00:00 02:00:00 03:00:00 04:00:00 05:00:00 06:00:00 07:00:00
[9] 08:00:00 09:00:00