Learn R Programming

nanotime (version 0.3.10)

seq.nanoduration: Sequence Generation

Description

Generate a sequence of nanoduration

Usage

# S3 method for nanoduration
seq(from, to = NULL, by = NULL, length.out = NULL, along.with = NULL, ...)

Arguments

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

Examples

Run this code
seq(from=as.nanoduration(0), by=as.nanoduration("01:00:00"), length.out=10)

Run the code above in your browser using DataLab