powered by
Sequence ordered by multiple
seq_mult(l, mult, inv = FALSE)
the length of the sequence, or an object convertile into a vector from which to determine the length from
the multiple to order by
whether to change mult into l/mult
seq_mult(10, 2) seq_mult(15,3) seq_mult(24,8) seq_mult(seq(0.5,12,0.5),8) seq_mult(10,2)[seq_mult(10,5)] seq_mult(10,2)[seq_mult(10,2, inv = TRUE)]
Run the code above in your browser using DataLab