2016-06-30 18 views

Antwort

0

unter Verwendung eines Vektors, der die Daten von Wich Spalten enthält, muss die Farbe ändern.

) %>% 
    formatStyle(
     gcolor, 
     color = styleInterval(c(50), c('black', 'black')), 
     backgroundColor = styleInterval(0, c('#E3F6CE', '#E3F6CE')) 
    )%>% 
    formatStyle(
     ycolor, 
     color = styleInterval(c(50), c('black', 'black')), 
     backgroundColor = styleInterval(0, c('khaki', 'khaki')) 
    )%>% 
    formatStyle(
     rcolor, 
     color = styleInterval(c(50), c('black', 'black')), 
     backgroundColor = styleInterval(0, c('#F5A9A9', '#F5A9A9')) 
    ))