Here is the challenge that I am currently facing.
I have a data.frame
named "dx"
dx <- data.frame( Tasks = c('1','2','3','4'),
Phase1 = c('Done','Done','Done','WIP'),
Phase2 = c('WIP','Done','Done',''),
Phase3 = c('','WIP','Done',''))
I would want to use the data in the dataframe dx and then color the data frame based on the value that a given cell contains. E.g: "Done" to be colored in Red, Blank Cells to be colored in Black etc.)
Note I don't want to see text in the cells instead the colors that user defines. The final output would resemble like a conditional function applied table in Excel file.