T_hss_label | R Documentation |
Apply text labels to the specified table. Labels are taken from the dictionaries created from the XLS forms. This converts the table to a flextable object. Works for EN or AR text labels. If used with AR text labels some optional formatting is applied to correctly display text.
T_hss_label(table, var, grouping, dict, lang = "en")
table |
the table for which labels should be applied |
var |
the variable name. Used to determine the question label and to look up the appropriate response labels. |
grouping |
the grouping variable. Will be used to apply appropriate column headers |
dict |
The variable/value dictionary object |
language |
To determine the language of labels to be applied. |
A flextable object with the original table values and appropriate question & response labels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.