Create a tidytable from a list

new_tidytable(x = list())

Arguments

x

A named list of equal-length vectors. The lengths are not checked; it is the responsibility of the caller to make sure they are equal.

Examples

l <- list(x = 1:3, y = c("a", "a", "b"))

new_tidytable(l)
#> # A tidytable: 3 × 2
#>       x y    
#>   <int> <chr>
#> 1     1 a    
#> 2     2 a    
#> 3     3 b