Relative Content

Tag Archive for if-statementconditional-statementslagkableextra

Multi-Column Conditional Highlighting with KableExtra and ifelse statement

I am attempting to highlight the text of a KableExtra table to indicate where group observations increase or decrease by year. However, I am receiving an error about attempting to replicate a closure. I understand that the issue may be with the function that I created, but apart from this issue; in other attempts, the output would indicate that nothing in the ifelse statement is true.