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,
...
)
The modified table object
The table object to modify
The row variable object to use (numerical)
The column variable to use (categorical)
list; cell styling functions
character; chosen styling to final table
numeric, character or function; A formatting directive to be applied to smd
numeric, character or function; A formatting directive to be applied to p-values
numeric; Vector of weights to apply to data when computing SMD
logical; include statistical test results
absorbs additional arugments. Unused at present.