Creates a simple atomic vector with init
as values.
Usage
named_vector(nn = character(0L), init = NA)
Arguments
- nn
(
character()
)
Names of new vector- init
(
atomic
)
All vector elements are initialized to this value.
Value
(named vector()
).
Creates a simple atomic vector with init
as values.
named_vector(nn = character(0L), init = NA)
(character()
)
Names of new vector
(atomic
)
All vector elements are initialized to this value.
(named vector()
).