Description Usage Arguments Examples
Creates a binary entry for a table
1 2 3 4 | binary_entry(out, x, y = initial_approach, dt = data, 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 |
y |
grouping variable |
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.