check.labs | R Documentation |
Helper function to determine if there is a defined variable label and value labels. Also checks if there are more unique values than defined value labels.
check.labs(vari)
vari |
Variable to be checked |
list with four elements:
var_lab - variable label (NA if not defined)
val_lab - data frame with values and value labels, NA if not defined
val_lab_ok - logical. FALSE if there are more values than value labels, otherwise TRUE. NA if value labels are not defined.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.