Skip to content

Add variable label to descriptive table, correlation table and regression table #11

@dnguyen-td

Description

@dnguyen-td

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions