ensure_length {mfp2} | R Documentation |
Helper function to ensure vectors have a specified length
Description
Used to make sure dimensions of matrix rows match.
Usage
ensure_length(x, size, fill = NA)
Arguments
x |
input vector or matrix. |
size |
length or size of |
fill |
value to fill in if |
[Package mfp2 version 1.0.0 Index]