powered by
Apply theme zebra to a flextable
theme_zebra(x, odd_header = "#CFCFCF", odd_body = "#EFEFEF", even_header = "transparent", even_body = "transparent")
a flextable object
odd/even colors for table header and body
# NOT RUN { ft <- flextable(iris) ft <- theme_zebra(ft) # }
Run the code above in your browser using DataLab