Description Usage Arguments Value Examples
Function to compile BL-table.
1 2 3 4 |
data |
A data frame that contains the baseline (BL) data (one row per participant). |
info |
A data frame with specifications for the BL-table. (See Examples below.) |
group.var |
The name of the variable (column) in |
sign.digits |
Digits used for mean, standard deviation, etc. |
sign.digits.prop |
Digits used for proportion of cases for factors. |
pvalue.digits |
Digits used for p-values. |
pvalue.cutoff |
Cutoff for changing p-values to simply 'smaller than', e.g., p < 0.001. |
test.input |
Whether the input is tested for logical consistency. Warning: testing is not
comprehensive. Setting |
factor.level.bullet |
The character to be prepended to factor levels (listing). The default
is |
less.than.character |
The character to be prepended to the cutoff-value for the p-values (e.g., '< 0.001'). The default
is |
linebreak.tag |
Can be used to insert a linebreak-command in the table headers to bring the counts to a new line.
The default is |
An R character-matrix containing the compiled table information.
1 | BLtable(data = example_data, info = example_variables, group.var = "Group", test.input = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.