seq() in r code example Example 1: seq in r seq(from, to, by= , length.out=) Example 2: r seq > x <- seq(-6,7,by=2) > x