R: Set font size

fontsize {flextable} | R Documentation

## Set font size

### Description

change font size of selected rows and columns of a flextable.

### Usage

    fontsize(x, i = NULL, j = NULL, size = 11, part = "body")

### Arguments

`x` | a flextable object
`i` | rows selection
`j` | columns selection
`size` | integer value (points)
`part` | partname of the table (one of 'all', 'body', 'header', 'footer')

### Examples

    ft <- flextable(mtcars)
    ft <- fontsize(ft, size = 14, part = "header")

[Package flextable version 0.4.5 Index]