Skip to contents

Format flextable mixed type columns (integer, percentages, NAs)

Usage

rub_format_mixed(x)

Arguments

x

Vector

Value

Formatted vector

Examples

x <- c("2500", "0.29", NA)
rub_format_mixed(x)
#> [1] "2.500" "29.0%" ""