equal_length: Grows vectors to match longest vector

View source: R/utils.R

equal_lengthR Documentation

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)

Arguments

lst_of_vectors

A list of atomic vectors.

Value

A list of atomic vectors of the same length.


ramiromagno/gwasrapidd documentation built on Jan. 3, 2024, 10:21 p.m.