R/utility_functions.R
seq_double.Rd
seq_double generates a sequence of numbers where each value is double the previous value in the sequence.
seq_double
seq_double(start, len)
The first number in the sequence.
The length of the sequence.
A numeric vector
seq_double(1, 5) #> [1] 1 2 4 8 16 seq_double(0.125, 10) #> [1] 0.125 0.250 0.500 1.000 2.000 4.000 8.000 16.000 32.000 64.000