Description Usage Arguments Value
Easy summary statistics. Hmisc didn't do it for me.
1 2 | summaryStats(df, minFreq = 0.01, vars = NULL, sumInChar = NULL,
avgInChar = NULL, decimals = 2)
|
df |
data.table from which summary statistics will come |
minFreq |
either a percentage or an integer. Minimum samples/percentage of df needed to show unique values |
vars |
A vector of variables to show summary stats for |
sumInChar |
Tack on a column that you would like to see the sum grouped by the character variables |
avgInChar |
Tack on a column that you would like to see the average grouped by the character variables |
decimals |
How many decimals to show |
Frequency Encoded Object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.