expand_vec {cctools} | R Documentation |
Expand a vector like expand_as_numeric
Description
Expands each element according to the factor expansions of columns in
expand_as_numeric()
.
Usage
expand_vec(y, x)
Arguments
y |
a vector of length 1 or |
x |
as in |
Value
A vector of size ncol(expand_as_numeric(x))
.
[Package cctools version 0.1.2 Index]