| align {flextable} | R Documentation |
change text alignment of selected rows and columns of a flextable.
align(x, i = NULL, j = NULL, align = "left", part = "body")
x |
a flextable object |
i |
rows selection |
j |
columns selection |
align |
text alignment - a single character value, expected value is one of 'left', 'right', 'center', 'justify'. |
part |
partname of the table (one of 'all', 'body', 'header', 'footer') |
ft <- flextable(mtcars) ft <- align(ft, align = "center")