lin: Create Linear Sequence of Evenly Spaced Values

View source: R/S03_Utilities.R

linR Documentation

Create Linear Sequence of Evenly Spaced Values

Description

Generates a sequence of evenly spaced intervals between a lower and upper limit.

Usage

lin(start, end, n_intervals)

Arguments

start

The starting value.

end

The final value.

n_intervals

The number of evenly spaced intervals.

Value

A numeric vector.

Examples

# Five evenly spaced intervals from 0 to 1
lin(0, 1, 5)

rettopnivek/arfpam documentation built on Oct. 20, 2024, 7:24 p.m.