Description Usage Arguments Value
Creates a 'tabstat' summary statistic table, similar to the ones produced in Stata.
1 2 |
var |
The variable to be summarised. Must be entered as character. |
data |
The data frame to be summarised. |
by |
A string of character variables to group summaries into. |
fns |
A list of summary functions. Use 'length' for rowcounts by category. Default already contains many useful statistics. |
na.rm |
Logical, whether or not to remove NAs. Defaults to true. |
A dataframe of summary statistics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.