Learn R Programming

ReporteRs (version 0.8.10)

borderProperties: border properties object

Description

create a border properties object.

Usage

borderProperties(color = "black", style = "solid", width = 1)

# S3 method for borderProperties chprop(object, color, style, width, ...)

# S3 method for borderProperties print(x, ...)

# S3 method for borderProperties as.character(x, ...)

Arguments

color

border color - single character value (e.g. "#000000" or "black")

style

border style - single character value : "none" or "solid" or "dotted" or "dashed"

width

border width - an integer value : 0>= value

object

borderProperties object to update

...

further arguments - not used

x

borderProperties object to print

Details

Get a modified version of a borderProperties with chprop.

See Also

alterFlexTable, setFlexTableBorders, shortcut_properties

Examples

Run this code
# NOT RUN {
borderProperties()
borderProperties(color="orange", style="solid", width=1)
borderProperties(color="gray", style="dotted", width=1)

# update borderProperties --------
x = borderProperties()
chprop(x, color="orange", style="dashed", width=1)
chprop(x, width=5)
# }

Run the code above in your browser using DataLab