print.decorated_xtable | R Documentation |
Prints a decorated xtable. Supplies a footnote. Experimental.
## S3 method for class 'decorated_xtable'
print(x, ...)
x |
decorated |
... |
passed to other methods |
character
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.