view_df display the range/elements of each column

view_df(x)

Arguments

x

a dataframe, preferably the wide format

Value

a data table with range/elements of each column

Author

Tien-Cheng Wang

Examples

view_df(mtcars)
#>    colnam      info
#> 1     mpg 10.4~33.9
#> 2     cyl     4,6,8
#> 3    disp  71.1~472
#> 4      hp    52~335
#> 5    drat   2.8~4.9
#> 6      wt   1.5~5.4
#> 7    qsec 14.5~22.9
#> 8      vs       0,1
#> 9      am       0,1
#> 10   gear     3,4,5
#> 11   carb       1~8