vect.extend: Extends the given vector 'v' to length 'N'

View source: R/rutils.R View source: R/linalg.R

vect.extendR Documentation

Extends the given vector v to length N

Description

Extends the given vector v to length N

Usage

vect.extend(v, N)

Arguments

v

Vector of any type

N

An integer

Value

Vector same type as v

Examples

a = c(1, 2, 3)
vect.extend(a, 5)
[1] 1 2 3 1 2


genpack/gener documentation built on March 14, 2023, 9:52 a.m.