phl_calc_fontsize: Calculate optimal fontsize and height of the cell for given...

Description Usage Arguments Value Examples

View source: R/flextable.R

Description

Calculate optimal fontsize and height of the cell for given height for flextable.

Usage

1

Arguments

data

data.frame.

height

single numeric value with desired height.

Value

A named numeric vector containing two elements:

Examples

1
2
x <- tail(iris, 10)[,c(1,5)]
phl_calc_fontsize(x, 5)

zzawadz/customLayout documentation built on June 9, 2021, 11:10 a.m.