count: false .panel1-the_chunk-auto[ ```r *library(gt) ``` ] .panel2-the_chunk-auto[ ] --- count: false .panel1-the_chunk-auto[ ```r library(gt) *gt::exibble ``` ] .panel2-the_chunk-auto[ ``` # A tibble: 8 x 9 num char fctr date time datetime currency row group <dbl> <chr> <fct> <chr> <chr> <chr> <dbl> <chr> <chr> 1 0.111 apricot one 2015-01… 13:35 2018-01-01 02… 50.0 row_1 grp_a 2 2.22 banana two 2015-02… 14:40 2018-02-02 14… 18.0 row_2 grp_a 3 33.3 coconut three 2015-03… 15:45 2018-03-03 03… 1.39 row_3 grp_a 4 444. durian four 2015-04… 16:50 2018-04-04 15… 65100 row_4 grp_a 5 5550 <NA> five 2015-05… 17:55 2018-05-05 04… 1326. row_5 grp_b 6 NA fig six 2015-06… <NA> 2018-06-06 16… 13.3 row_6 grp_b 7 777000 grapefru… seven <NA> 19:10 2018-07-07 05… NA row_7 grp_b 8 8880000 honeydew eight 2015-08… 20:20 <NA> 0.44 row_8 grp_b ``` ] --- count: false .panel1-the_chunk-auto[ ```r library(gt) gt::exibble %>% * rename(fruit = char, * team = fctr, * weight = num, * holiday = date, * schedule = time, * appointment = datetime, * price = currency, * id = row, * club = group) ``` ] .panel2-the_chunk-auto[ ``` # A tibble: 8 x 9 weight fruit team holiday schedule appointment price id club <dbl> <chr> <fct> <chr> <chr> <chr> <dbl> <chr> <chr> 1 1.11e-1 apricot one 2015-01… 13:35 2018-01-01 0… 50.0 row_1 grp_a 2 2.22e+0 banana two 2015-02… 14:40 2018-02-02 1… 18.0 row_2 grp_a 3 3.33e+1 coconut three 2015-03… 15:45 2018-03-03 0… 1.39 row_3 grp_a 4 4.44e+2 durian four 2015-04… 16:50 2018-04-04 1… 65100 row_4 grp_a 5 5.55e+3 <NA> five 2015-05… 17:55 2018-05-05 0… 1326. row_5 grp_b 6 NA fig six 2015-06… <NA> 2018-06-06 1… 13.3 row_6 grp_b 7 7.77e+5 grapefr… seven <NA> 19:10 2018-07-07 0… NA row_7 grp_b 8 8.88e+6 honeydew eight 2015-08… 20:20 <NA> 0.44 row_8 grp_b ``` ] --- count: false .panel1-the_chunk-auto[ ```r library(gt) gt::exibble %>% rename(fruit = char, team = fctr, weight = num, holiday = date, schedule = time, appointment = datetime, price = currency, id = row, club = group) -> *example; example ``` ] .panel2-the_chunk-auto[ ``` # A tibble: 8 x 9 weight fruit team holiday schedule appointment price id club <dbl> <chr> <fct> <chr> <chr> <chr> <dbl> <chr> <chr> 1 1.11e-1 apricot one 2015-01… 13:35 2018-01-01 0… 50.0 row_1 grp_a 2 2.22e+0 banana two 2015-02… 14:40 2018-02-02 1… 18.0 row_2 grp_a 3 3.33e+1 coconut three 2015-03… 15:45 2018-03-03 0… 1.39 row_3 grp_a 4 4.44e+2 durian four 2015-04… 16:50 2018-04-04 1… 65100 row_4 grp_a 5 5.55e+3 <NA> five 2015-05… 17:55 2018-05-05 0… 1326. row_5 grp_b 6 NA fig six 2015-06… <NA> 2018-06-06 1… 13.3 row_6 grp_b 7 7.77e+5 grapefr… seven <NA> 19:10 2018-07-07 0… NA row_7 grp_b 8 8.88e+6 honeydew eight 2015-08… 20:20 <NA> 0.44 row_8 grp_b ``` ] <style> .panel1-the_chunk-auto { color: black; width: 38.6060606060606%; hight: 32%; float: left; padding-left: 1%; font-size: 80% } .panel2-the_chunk-auto { color: black; width: 59.3939393939394%; hight: 32%; float: left; padding-left: 1%; font-size: 80% } .panel3-the_chunk-auto { color: black; width: NA%; hight: 33%; float: left; padding-left: 1%; font-size: 80% } </style> <style type="text/css"> .remark-code{line-height: 1.5; font-size: 75%} @media print { .has-continuation { display: block; } } code.r.hljs.remark-code{ position: relative; overflow-x: hidden; } code.r.hljs.remark-code:hover{ overflow-x:visible; width: 500px; border-style: solid; } </style>