powered by
change borders of selected rows and columns of a flextable.
border(x, i = NULL, j = NULL, border = NULL, border.top = NULL, border.bottom = NULL, border.left = NULL, border.right = NULL, part = "body")
a flextable object
rows selection
columns selection
border (shortcut for top, bottom, left and right)
border top
border bottom
border left
border right
partname of the table (one of 'all', 'body', 'header')
# NOT RUN { ft <- flextable(mtcars) ft <- border(ft, border.top = fp_border(color = "orange") ) # }
Run the code above in your browser using DataLab