Description Usage Arguments See Also Examples
View source: R/FlexTablePublicAPI.R
apply borders scheme to a FlexTable. A border scheme is a set of 4 different borders: inner vectical and horizontal , outer vectical and horizontal.
1 2 3 4 5 | setFlexTableBorders(object, inner.vertical = borderProperties(),
inner.horizontal = borderProperties(),
outer.vertical = borderProperties(),
outer.horizontal = borderProperties(), body = TRUE, header = TRUE,
footer = FALSE)
|
object |
a |
inner.vertical |
a |
inner.horizontal |
a |
outer.vertical |
a |
outer.horizontal |
a |
body |
a logical value (default to TRUE), specifies to apply scheme to table body |
header |
a logical value (default to TRUE), specifies to apply scheme to table header |
footer |
a logical value (default to FALSE), specifies to apply scheme to table footer |
1 2 3 4 5 6 | MyFTable <- FlexTable( data = mtcars[1:10, ], add.rownames=TRUE )
MyFTable <- setFlexTableBorders( MyFTable,
inner.vertical = borderProperties( style = "dashed" ),
inner.horizontal = borderProperties( style = "dashed" ),
outer.vertical = borderProperties( width = 2 ),
outer.horizontal = borderProperties( width = 2 ) )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.