R Using kableExtra to colorize cells and maintain striped formatting with nested if/ifelse?
问题 An expansion to this question: R wanting to limit the amount of digits from csv file I am using kableExtra and cell_spec to colorize cells with nested ifelse statements. Instead of colorizing values less than .10 white, I want to leave them alone in order to allow kableExtra to apply the striped formatting. I have a feeling this isn't possible though because of how the background colors are applied? DF: DF <- data.frame(V1 = sample(letters,10,T), V2 = abs(rnorm(10)), V3 = abs(rnorm(10))) Code