Learn R Programming

gwasrapidd (version 0.99.17)

equal_length: Grows vectors to match longest vector

Description

This function determines the longest vector and pads the shorter ones by adding NAs until they match the longest vector.

Usage

equal_length(lst_of_vectors)

Value

A list of atomic vectors of the same length.

Arguments

lst_of_vectors

A list of atomic vectors.