powered by
seqR(range, from=1, to=1, ...)
from
to
seq
range
seqR(range=c(12,6), by=-2) m <- c(41, 12, 38, 29, 50, 39, 22) seqR(m, by=3) # Takes min and max of range if the vector has more than two elements. seqR(extendrange(m, f=0.1), len=5)
Run the code above in your browser using DataLab