gt_tab | R Documentation |
This function will gtExtra package friendly data summary using the datafrmae provided psych pack.
gt_tab(dataframe, recode_code)
dataframe |
Dataframe with all items. |
recode_code |
Recode key |
A publication ready descriptive summary table in png format.
data <- tabledown::FFMQ.CFA[, c(9,10,12,14)]
recode_code <- c( "1" = "Never or very rarely true", "2" = "Rarely true",
"3"= "Sometimes true","4" = "Often true","5" = "Very often or always true")
sample_tab <- gt_tab(data,recode_code)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.