powered by
applies background color to alternate rows (zebra striping). Set a color if row index is odd and another if row index is even.
setZebraStyle(object, odd, even)
a FlexTable object
FlexTable
background color applied to odd row indexes - single character value (e.g. "#000000" or "black")
background color applied to even row indexes - single character value (e.g. "#000000" or "black")
# NOT RUN { MyFTable <- FlexTable( data = iris[1:10, ] ) # Zebra striped table MyFTable <- setZebraStyle( MyFTable, odd = "#8A949B", even = "#FAFAFA" ) # }
Run the code above in your browser using DataLab