There is gt
table Current Table
, how can I change to Wished Table1
and Wished Table2
?
(There are separated question) .Refer to attached image. Thanks!
library(tidyverse)
library(gt)
diamonds %>% head(5) %>% group_by(color) %>%
summarise(x=list(x),y=list(y)) %>% gt()