flextable::flextable()
flextable::set_header_labels() to set column labels
flextable::add_header_row(), if applicable, to set spanning column header
flextable::align() to set column alignment
flextable::padding() to indent variable levels
flextable::fontsize() to set font size
flextable::autofit() to estimate the column widths
flextable::footnote() to add table footnotes and source notes
flextable::bold() to bold cells in data frame
flextable::italic() to italicize cells in data frame
flextable::border() to set all border widths to 1
flextable::padding() to set consistent header padding
flextable::valign() to ensure label column is top-left justified