print.decorated_xtable: Print Decorated Xtable

View source: R/xtable.R

print.decorated_xtableR Documentation

Print Decorated Xtable

Description

Prints a decorated xtable. Supplies a footnote. Experimental.

Usage

## S3 method for class 'decorated_xtable'
print(x, ...)

Arguments

x

decorated

...

passed to other methods

Value

character

Examples

library(magrittr)
library(xtable)
set.seed(0)
x <- data.frame(
 auc = rnorm(4, mean = 2400, sd = 200),
 bmi = rnorm(4, mean = 20, sd = 5),
 gen = 0:1
)
x %<>% decorate('auc: [AUC_0-24, ng*h/mL]')
x %<>% decorate('bmi: [Body Mass Index, kg/m^2]')
x %<>% decorate('gen: [Gender, [Male: 1, Female: 0]]')
x %>% resolve
x %>% resolve %>% xtable



yamlet documentation built on Oct. 6, 2023, 9:07 a.m.