#
# Create a FlexTable object with first 10 lines of data.frame mtcars
# add row.names as first column
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 ) )
Run the code above in your browser using DataLab