Create a border object

brdr(thickness = 0.4, style = "solid", color = NA_character_)

Arguments

thickness

Thickness of the border in points.

style

"solid" (the default), "double", "dashed" or "dotted".

color

String representing a valid color (either a color name or a hexadecimalstring like "#00FF00").

Value

An object of class "brdr" which you can pass into huxtable border functions.

Examples

set_bottom_border(jams, brdr(1, "solid", "red"))
#> Type Price Sugar content #> ────────────────────────────────────── #> Strawberry 1.90 40.00% #> ────────────────────────────────────── #> Raspberry 2.10 35.00% #> ────────────────────────────────────── #> Plum 1.80 50.00% #> ────────────────────────────────────── #> #> Column names: Type, Price, Sugar