gt::tab_row_group() can’t find row names
I’m trying to use the gt::tab_row_group
function to subset a table by row name, but the tutorial I’m following from the vignettes/gt.Rmd doesn’t seem to work (very possible I’m doing something wrong). The error message I keep getting:
Image quality of gtsave()
Is there a way to control the quality of the PNG file when saving a gt table using gtsave()
?
Error in R GT Table trying to add color scale to column
I’m trying to add a color scale to a numeric column in a more complicated dataset, but it won’t even work on iris – so I think I’m doing something wrong in the code or have a software problem.
spanners in interactive gt tables
When using the gt
package, spanners spanners disappear when I make the table interactive with opt_interactive()
. Is there a workaround for this?
Is there a way to make the bars’ colors conditional to the column?
I would like to make the colors of the bars in the column “Percentile” conditional to the value, meaning that if the value is between 100-90 it has one color, if it’s between 90-80 it’s another color, and so on…
R gt package: How to perform line breaking respecting indentation
When a a string does not fit in a gt
table cell (due to cell width) it will break to the 2nd line. However when indentation is used on the cell content then the 2nd line is not indented. Is there a way to correct?
In nested gt table, how to line feed | change hyphen type
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!
In below `gt` nest table ,how can i change the text color and size
In below gt
nest table ,how can i change the text color and size ?
I added color
and size
to gt
, it’s can’t work. Anyone can help ? Thanks!