sequence r code example Example: sequence r from:to seq(from, to) seq(from, to, by=) seq(from, to, length=) seq(along)