add_ltc_groups <- function(ltc_variable){
case_when(
ltc_variable == 0 ~ "0",
ltc_variable == 1 ~ "1",
ltc_variable == 2 ~ "2",
ltc_variable == 3 ~ "3",
ltc_variable == 4 ~ "4",
ltc_variable > 4 ~ "5+"
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.