Create a simple correlation table
Arguments
- data
A data frame (or tibble).
- formula
Two variables given in formula notation: var1~var2
.
- digits
The number of digits to round to. Defaults to 3.
- caption
An override for the table caption. A sensible default is given.
- na_rm
Should missing values be removed? Defaults to TRUE.
Value
An object of class flextable. If in an interactive session, the table will be
viewable immediately.