flextable (version 0.5.11)

theme_zebra: Apply zebra theme

Description

Apply theme zebra to a flextable

Usage

theme_zebra(
  x,
  odd_header = "#CFCFCF",
  odd_body = "#EFEFEF",
  even_header = "transparent",
  even_body = "transparent"
)

Arguments

x

a flextable object

odd_header, odd_body, even_header, even_body

odd/even colors for table header and body

See Also

Other flextable theme: theme_alafoli(), theme_booktabs(), theme_box(), theme_tron_legacy(), theme_tron(), theme_vader(), theme_vanilla()

Examples

Run this code
# NOT RUN {
ftab <- flextable(iris)
ftab <- theme_zebra(ftab)
# }

Run the code above in your browser using DataLab