seq_cpp: Generate a sequence of values

Description Usage Arguments Value Author(s) Examples

Description

Creates a vector containing a sequence of values starting at the initial point and going to the terminal point.

Usage

1
seq_cpp(a, b)

Arguments

a

An int, that denotes the starting point.

b

An int, that denotes the ending point.

Value

A vector containing values moving from a to b. There are no restrictions on A's range.

Author(s)

James J Balamuta

Examples

1
2
3
#Call with the following data:
seq_cpp(3, 5)
seq_cpp(5, 3)

gmwm documentation built on April 14, 2017, 4:38 p.m.