extend_vector: Extends a vector

Description Usage Arguments Details Value

View source: R/tools.R

Description

Take the vector x, then extend it until to length(x) = long.

Usage

1
extend_vector(x, long)

Arguments

x

any vector.

long

an integer, that corresponds to the whished length(x) = long.

Details

None.

Value

Return a vector of length(x) = long built by recycling x as many times as necessary, then truncated at length(x) = long.


functClust documentation built on Dec. 2, 2020, 5:06 p.m.