seq_cpp: Generate a sequence of values

View source: R/RcppExports.R

seq_cppR Documentation

Generate a sequence of values

Description

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

Usage

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

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

schoi355/gmwm documentation built on April 11, 2022, 1:21 a.m.