-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Tables with Variable Labels #74
Comments
I would expect the answer is yes. However, before I can give a definitive answer I would like to see a reproducible example of what you are looking for. My only experience with using variable labels in a data.frame relies on either the Hmisc or setting a attribute "label" for each element of the data frame explicitly. If you are using some other set up for variable labels I would like to know. |
Hi I believe my inspiration for this enhancement came from this usage explained for sjPlot: |
Prior to this change only the variable name would be used to label the row groups for `qsummary` and `summary_table` This change looks to see if the attribute "label" has been set for a variable in the data frame and uses that instead of the variable name. If the attribute is NULL then the variable name will be used. Examples to follow. re #74
@hectormz : I have added to the |
@dewittpe awesome! Thank you for the update! |
Is it possible to create tables using the dataframe's variable labels instead of the variable names? This would be useful when using qsummary() to generate automatic/default tables without manually setting variable display names.
The text was updated successfully, but these errors were encountered: