sjmisc_set_label | R Documentation |
sjmisc 1.8 hack, variable labels
sjmisc_set_label(x, lab, attr.string = NULL)
x |
var or df |
lab |
if x is var, single vector; if x is df, vector of the same length as ncol(df). If "" or NULL, essentially clear label attribute |
returns a new changed x
if no exisiting attr, using haven style: label
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.