univariateSummaryDT: Produce a univariate summary datatable

Description Usage Arguments Value See Also Examples

View source: R/univariateSummaryDT.R

Description

univariateSummaryDT() produces a nicely formatted DT::datatable representation of a mt_univariateSummary object.

Usage

1
univariateSummaryDT(data, yLabel, yType, yDigits)

Arguments

data

mt_univariateSummary data frame

yLabel

character string; y variable label

yType

character string; y variable format type; valid values are "int", "dlr" and "pct"

yDigits

non-negative integer value indicating the number of decimal places to show for values of the y variable

Value

A datatable representation of a mt_univariateSummary object.

See Also

univariateSummary, datatable

Examples

1
2
x <- univariateSummary(rnorm(5000), round(runif(5000)))
univariateSummaryDT(x, "Random Binary Rate", "pct", 1)

dnegrey/miscTools documentation built on May 3, 2019, 2:57 p.m.