Category "gt"

Conditional formatting of multiple columns in gt table

This is my first post, so apologies if I messed something up. I am trying to apply conditional formatting to multiple columns (comparing results for samples Sam

How to order frequency from highest to lowest for character variable

Suppose my dataframe (df) only includes this single character variable: race.ethnicity<-c("W", "C", "F", "F", "J") I want to create a frequency table for th