binary_entry_all: Creates a binary entry for a table

Description Usage Arguments Examples

View source: R/binary_entry_all.R

Description

Creates a binary entry for a table

Usage

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>" })

Arguments

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

Examples

1
# Not run:

thomasgstewart/ahsqc documentation built on Jan. 24, 2021, 11:19 a.m.