Description Usage Arguments Examples
View source: R/binary_entry_all.R
Creates a binary entry for a table
1 2 3 4 | binary_entry_all(out, x, dt, xlab = NULL, level = c("Yes", "1"),
pvalue = TRUE, fmt = "norm_fmt", pvalue_fmt = function(x,
test_method) { formatp(x, digits = 3) %|% "<sup>" %|% test_method
%|% "</sup>" })
|
out |
empty vector |
x |
variable for row in table |
dt |
data table |
xlab |
Label for entry in table |
pvalue |
Boolean |
fmt |
Two values are "norm_fmt" or "count_fmt" |
pvalue_fmt |
A function that takes a pvalue and a test method |
1 | # Not run:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.