Skip to contents

This function will gtExtra package friendly data summary using the datafrmae provided psych pack.

Usage

gt_tab(dataframe, recode_code)

Arguments

dataframe

Dataframe with all items.

recode_code

Recode key

Value

A publication ready descriptive summary table in png format.

Examples

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)