expand_vec: Expand a vector like expand_as_numeric

View source: R/expansions.R

expand_vecR 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 ncol(x).

x

as in expand_as_numeric().

Value

A vector of size ncol(expand_as_numeric(x)).


cctools documentation built on April 4, 2025, 12:48 a.m.