Create a new vector of vectors

vecvec(...)

Arguments

...

Vectors to combine into a single vector without type coercion.

Value

A vector of vectors of class vecvec.

See also

unvecvec() coerces the mixed-type vector into a single-typed regular vector. new_vecvec() is a performant alternative that accepts a list of vectors rather than ... (suitable for R packages).

Examples

vecvec(Sys.Date(), rnorm(3), letters)
#> <vecvec[30]>
#>  [1] 2025-06-25 -1.3045435  0.7377763  1.8885049 a          b         
#>  [7] c          d          e          f          g          h         
#> [13] i          j          k          l          m          n         
#> [19] o          p          q          r          s          t         
#> [25] u          v          w          x          y          z