generate tibbles
Arguments
- nrow
number of rows
- ncol
number of columns
- fill
fill by, one of
float, int, char, str
- colnames
names of columns
- seed
random seed
- ...
parameters of
rnorm, gen_char, gen_str
Examples
gen_tb()
#> # A tibble: 3 × 4
#> V1 V2 V3 V4
#> <dbl> <dbl> <dbl> <dbl>
#> 1 -1.95 0.452 -1.11 -0.993
#> 2 -1.59 0.728 0.687 -0.0850
#> 3 0.00818 -0.551 0.856 -1.47
gen_tb(fill = "str", nrow = 3, ncol = 4, len = 3)
#> # A tibble: 3 × 4
#> V1 V2 V3 V4
#> <chr> <chr> <chr> <chr>
#> 1 rnx zmk ntm abg
#> 2 txz emz kfw gtq
#> 3 bwa jvq ogs jgp