| umx_pad {umx} | R Documentation |
Pad an Object with NAs
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
umx_pad(x, n)
Arguments
x |
An R object (list, data.frame, matrix, atomic vector). |
n |
The final length of each object. |
Value
- padded object
References
- https://github.com/kevinushey/Kmisc/tree/master/man
See Also
Other Miscellaneous Utility Functions:
install.OpenMx(),
libs(),
qm(),
umxLav2RAM(),
umxModelNames(),
umxRAM2Lav(),
umxVersion(),
umx_array_shift(),
umx_find_object(),
umx_lower.tri(),
umx_msg(),
umx_open_CRAN_page(),
umx_print(),
umx
Examples
umx_pad(1:3, 4)
umx_pad(1:3, 3)
[Package umx version 4.20.0 Index]