Usage
createTable(x, hide = NA, digits = NA, type = NA, show.all =
TRUE, show.p.trend = FALSE, show.p.mul = FALSE, show.n = FALSE)
Arguments
x
an object of class 'compareGroups'
hide
an integer vector with as many components as row-variables. If it has length 1 it is recycled for all row-variables. Each component specifies which category must be hidden and not shown. This argument only applies to categorical row-variables, and for con
digits
an integer vector with as many components as row-variables. If it has length 1 it is recycled for all row-variables. Each component specifies the number of significant decimals to be displayed. Or a named vector specifying which row-variables 'digits' is
type
an integer. 2 or NA - absolute and relative frequencies in brackets are shown; 1- only relative frequencies are displayed
show.all
logical indicating whether the '[ALL]' column (all data without stratifying by groups) is displayed or not. Default value is TRUE
show.p.trend
logical indicating whether p-trend is displayed or not. It is always FALSE when there are less than 3 groups. Default value is FALSE.
show.p.mul
logical indicating whether the pairwise (between groups) comparisons p-values are displayed or not. It is allways FALSE when there are less than 3 groups. Default value is FALSE.
show.n
logical indicating whether number of individuals analysed for each row-variable are displayed or not in the 'descr' table. Default value is FALSE