padNA: make a ragged list uniform in length

Description Usage Arguments Value Author(s) Examples

Description

take a ragged list, that is a list of vectors of different lengths, and make it into a non-ragged list, by appending NA to the end.

Usage

1
padNA(l)

Arguments

l

a list of vectors

Value

a list of vectors of the same length

Author(s)

Mark Cowley, 2013-09-18

Examples

1
2
l <- list(1:3, 1:5 ,1:10)
padNA(l)

drmjc/mjcbase documentation built on May 15, 2019, 2:27 p.m.