View source: R/report_transpose.R
report_transpose | R Documentation |
Transpose report table
report_transpose(report_data)
report_data |
table to transpose |
transposed table
At the moment this function only works when there is only one variable in report.
df <- data.frame(V1=rbinom(500,1,0.4),V2=rbinom(500,1,0.5),
group=gl(5,100))
df %>% report_nPctBin01(V1,groupVar = group) %>%
report_transpose()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.