seq_len_cpp: Generate a sequence of values based on supplied number

View source: R/RcppExports.R

seq_len_cppR Documentation

Generate a sequence of values based on supplied number

Description

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

Usage

seq_len_cpp(n)

Arguments

n

An int that denotes the length of the vector.

Value

A vector containing values moving from 1 to n.

Author(s)

James J Balamuta

Examples

#Call with the following data:
seq_len_cpp(5)

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