- seq
R - sequences and ranges
examples/vectors/seq.R
nums = seq(1, 10, 2) print(nums) # 1 3 5 7 9 print(class(nums)) # "numeric" print(is.numeric(nums)) # TRUE other = seq(to = 19, from = 7, by = 3) print(other) # 7 10 13 16 19
nums = seq(1, 10, 2) print(nums) # 1 3 5 7 9 print(class(nums)) # "numeric" print(is.numeric(nums)) # TRUE other = seq(to = 19, from = 7, by = 3) print(other) # 7 10 13 16 19