univariateSummary() produces a univariate summary table,
x as the independent variable and
y as the dependent
variable. It uses the S3 generic function
bin to bin the values of
x, then per bin, applies
y. The vector
x can include
missing values but
y cannot. When
ytype = 1,
contain only unique (coercable) values of 0 or 1. When
ytype = 2,
y must have at least 3 distinct values.
character, factor, logical or numeric vector (independent variable)
logical, integer or numeric vector (dependent variable)
integer value of 1 (binary y) or 2 (continuous y)
function to be applied to
further arguments passed to
A data frame with class "
mt_univariateSummary" containing the
xbin: binned values of x (character)
Freq: frequency of observations (integer)
Percent: relative frequency of observations (numeric)
yagg: aggregated summary statistic of y (numeric)
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.