Hi,
How can we add variable labels to the descriptive table prepare_descriptive_table , correlation table prepare_correlation_table , and regression table prepare_regression_table?
Take mtcars database as an example.
t <- prepare_descriptive_table(mtcars)
t$df
If we want to label the variables in the database like the following:
var_names <- c( mpg = "Miles Per Gallon", disp = "Displacement )
And then these labels will appear on the tables when we prepare the descriptive table, elation table, and regression table, what should we do?
Thank you so much.
Hi,
How can we add variable labels to the descriptive table
prepare_descriptive_table, correlation tableprepare_correlation_table, and regression tableprepare_regression_table?Take
mtcarsdatabase as an example.t <- prepare_descriptive_table(mtcars)t$dfIf we want to label the variables in the database like the following:
var_names <- c( mpg = "Miles Per Gallon", disp = "Displacement )And then these labels will appear on the tables when we prepare the descriptive table, elation table, and regression table, what should we do?
Thank you so much.