pad: Pad an Object with NAs

Description Usage Arguments

View source: R/pad.R

Description

This function pads an R object (list, data.frame, matrix, atomic vector) with NAs. For matrices, lists and data.frames, this occurs by extending each (column) vector in the object.

Usage

1
pad(x, n)

Arguments

x

An R object (list, data.frame, matrix, atomic vector).

n

The final length of each object.


Kmisc documentation built on May 29, 2017, 1:43 p.m.

Related to pad in Kmisc...