control rules of each height for a part
of the flextable, this is only for Word and HTML outputs, it
will not have any effect when output is PowerPoint.
Usage
hrule(x, i = NULL, rule = "auto", part = "body")
Arguments
x
flextable object
i
rows selection
rule
specify the meaning of the height. Possible values
are "atleast" (height should be at least the value specified), "exact"
(height should be exactly the value specified), or the default value "auto"
(height is determined based on the height of the contents, so the value is ignored).
See details for more informations.
part
partname of the table, one of "all", "header", "body", "footer"
# NOT RUN {ft <- flextable(iris)
ft <- width(iris, width = 1.5)
ft <- height(ft, height = 0.75, part = "header")
ft <- hrule(ft, rule = "exact", part = "header")
# }