Skip to contents

A DT::datatable() with column filters and CSV / Excel buttons.

Usage

dt_export(df, caption = NULL, page_length = 10, digits = NULL)

Arguments

df

A data frame.

caption

Optional caption.

page_length

Rows per page.

digits

Optional number of significant digits of the double columns.

Value

An htmlwidget.

Examples

dt_export(na_summary(cohort_sim, list(All = names(cohort_sim))))