ffseq_len: Sequence Generation of 'ff' vectors.

Description Usage Arguments Value See Also Examples

View source: R/ffseq.R

Description

Similar as seq_len in the base package, generating an ff vector.

Usage

1
ffseq_len(length.out)

Arguments

length.out

desired length of the sequence. Only non-negative numbers larger than 0 are allowed.

Value

An ff vector of integers with range from 1 to length.out

See Also

seq_len

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## ffseq_len
ffseq_len(1000)
ffseq_len(1000000)

## ffseq
ffseq(from = 1, to = 4, by = 1)
ffseq(from = 1, to = 4, by = 0.5)
ffseq(from = 4, to = 1, by = -0.5)
ffseq(from = -100, to = 100, by = 0.3)
ffseq(from = 2, to = -100, length.out = 4)
ffseq(from = 2, to = -100, length.out = 4)
ffseq(from = 2, along.with=1000)
ffseq(to = 2, along.with=1000)
ffseq(along.with=1000)
ffseq(length.out=1000000)

ffbase documentation built on Feb. 27, 2021, 5:06 p.m.