Format a column of pvalues for a flextable

format_pbold(ft, pval, psig = 0.05, j = NA)

Arguments

ft

A flextable object

pval

(String) Name of pvalue colum

psig

A numeric threshold to bold p-values

j

A numeric column index. If NA, it will be the last column in the table.