Learn R Programming

bit64 (version 4.5.2)

seq.integer64: integer64: Sequence Generation

Description

Generating sequence of integer64 values

Usage

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

Value

an integer64 vector with the generated sequence

Arguments

from

integer64 scalar (in order to dispatch the integer64 method of seq

to

scalar

by

scalar

length.out

scalar

along.with

scalar

...

ignored

Author

Jens Oehlschlägel <Jens.Oehlschlaegel@truecluster.com>

Details

seq.integer64 does coerce its arguments 'from', 'to' and 'by' to integer64. If not provided, the argument 'by' is automatically determined as +1 or -1, but the size of 'by' is not calculated as in seq (because this might result in a non-integer value).

See Also

c.integer64 rep.integer64 as.data.frame.integer64 integer64

Examples

Run this code
  # colon not activated: as.integer64(1):12
  seq(as.integer64(1), 12, 2)
  seq(as.integer64(1), by=2, length.out=6)

Run the code above in your browser using DataLab