Description Usage Arguments Value
This is alternative method of summary()
for countable or continuous vairbales.
Since this function returns a data frame,
you can pass some output format function (e.g. kable
) easily.
1 2 3 4 5 |
data |
a |
vars |
a character vector of variables. |
stat |
a character vector of statisics. "mean" is an average, "se" is its standard errors, "sd" is a standard error, "min" is minimum, "max" is maximum, "q25" is a first quantile, "median" is median, "q75" is a third quantile. "sum" is a sum of variable, and "N" is sample size. |
an object whose class is data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.