View source: R/transform-smd.R
smd_compare | R Documentation |
Given a row and column object from the parser apply a Kruskal test and output the results horizontally. 1 X (n + no. categories + test statistic)
smd_compare( table, row, column, cell_style, style, smdformat = NULL, pformat = NULL, weight = NULL, test = FALSE, ... )
table |
The table object to modify |
row |
The row variable object to use (numerical) |
column |
The column variable to use (categorical) |
cell_style |
list; cell styling functions |
style |
character; chosen styling to final table |
smdformat |
numeric, character or function; A formatting directive to be applied to smd |
pformat |
numeric, character or function; A formatting directive to be applied to p-values |
weight |
numeric; Vector of weights to apply to data when computing SMD |
test |
logical; include statistical test results |
... |
absorbs additional arugments. Unused at present. |
The modified table object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.