seq_default: Generate a sequence of values ranging from a to b given a...

View source: R/RcppExports.R

seq_defaultR Documentation

Generate a sequence of values ranging from a to b given a fixed amount of points.

Description

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

Usage

seq_default(from, to, length_out)

Arguments

from

A long double that denotes the starting point.

to

A long double indicating the end point.

length_out

A long unsigned int that denotes the number of points to use.

Value

A vector containing values moving from [from,to].

Author(s)

Anthony R. Colombo, James J Balamuta

See Also

seq

Examples

# Call with the following data:
seq_default(1, 2, 10)
seq_default(2, 1, 10)

coatless/r-to-armadillo documentation built on Nov. 16, 2023, 5:32 a.m.