powered by
apply a rotation to cell text
rotate(x, i = NULL, j = NULL, rotation, align = "center", part = "body")
a flextable object
rows selection
columns selection
one of "lrtb", "tbrl", "btlr"
one of "center" or "top" or "bottom"
partname of the table (one of 'all', 'body', 'header')
# NOT RUN { ft <- flextable(mtcars) ft <- rotate(ft, rotation = "lrtb", align = "top", part = "header") # }
Run the code above in your browser using DataLab