Description Usage Arguments Examples
View source: R/scaff_sumtable.R
This function takes three inputs: a dataframe, a grouping variable x, and an outcome y, and returns a table of summary statistics grouped by the x variable. The table contains commonly-requested parametric and nonparametric summary statistics, and the results can be passed to a formatting command (such as kable or flextable).
1 | scaff_sumtable(data, x, y)
|
data |
dataframe passed into function |
x |
Categorical grouping variable |
y |
Outcome of Interest |
1 | scaff_sumtable(data = iris, x = Sepal.Length, y = Species)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.