R/properties-table.R
position.RdTable position may be "left", "right" or "center". If you want text to wrap around the table, use "wrapleft" or "wrapright".
position(ht)
position(ht) <- value
set_position(ht, value)property() returns the property value(s).
set_property() and map_property() return the modified huxtable.
"wrapleft" and "wrapright" position the table to the left or right, and allow text to
wrap around the table.
set_position(jams, "left")
#> Type Price
#> Strawberry 1.90
#> Raspberry 2.10
#> Plum 1.80
#>
#> Column names: Type, Price
set_position(jams, "right")
#> Type Price
#> Strawberry 1.90
#> Raspberry 2.10
#> Plum 1.80
#>
#> Column names: Type, Price
set_position(jams, "center")
#> Type Price
#> Strawberry 1.90
#> Raspberry 2.10
#> Plum 1.80
#>
#> Column names: Type, Price