padVectors.Rd
In a list of vectors, pad short vectors
padVectors(x, padWith = "")
The list of vectors
The element to pad with
The list with the padded vectors
comma::padVectors( list( c(1, 2, 3), 4, c(5, 6) ) ); #> [[1]] #> [1] 1 2 3 #> #> [[2]] #> [1] "4" "" "" #> #> [[3]] #> [1] "5" "6" "" #>