summarize_nejm_horz: Create a summarization for a categorical set of column versus...

Description Usage Arguments Value

View source: R/transform-hmisc.R

Description

Given a row and column object from the parser apply a Kruskal test and output the results horizontally. 5 X (n + no. categories + test statistic)

Usage

1
2
summarize_nejm_horz(table, row, column, pformat = NULL, msd = FALSE,
  quant = c(0.25, 0.5, 0.75), overall = NULL, test = TRUE, ...)

Arguments

table

The table object to modify

row

The row variable object to use (numerical)

column

The column variable to use (categorical)

pformat

numeric, character or function; A formatting directive to be applied to p-values

msd

logical; Include mean and standard deviation with quantile statistics

quant

numeric; Vector of quantiles to include. Should be an odd number since the middle value is highlighted on display.

overall

logical; Include overall summary statistics for a categorical column

test

logical; include statistical test results

...

absorbs additional arugments. Unused at present.

Value

The modified table object


tangram documentation built on June 5, 2018, 1:04 a.m.