Creates html summary with statistics relevant to data type. For numeric values it returns central tendency measures, for factor returns level counts, for Date date range, for other just number of levels.
var_summary_table(x, numeric_as_factor, dt_rows, outlier_definition)
text with simple statistics.
vector of any type
logical
should the numeric variable be treated as a factor
numeric
current/latest DT
page length
If 0 no outliers are removed, otherwise
outliers (those more than outlier_definition*IQR below/above Q1/Q3
be removed)