You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would much prefer that syntax, especially for labelling a lot of variables simultanously, because the variable names and labels are more closely connected.
This alternative syntax is probably straightforward to implement given the current implementation:
Setting labels for a subset of the variables is supported by the argument
which
of thelabels<-
function. So we can do:I suggest to allow for an alternative syntax for setting labels via a named vector, consistent with how
labels()
are extracted.I would much prefer that syntax, especially for labelling a lot of variables simultanously, because the variable names and labels are more closely connected.
This alternative syntax is probably straightforward to implement given the current implementation:
papeR/R/labels.R
Lines 59 to 61 in 9e79d5b
Maybe add the following at the beginning of the function body:
The text was updated successfully, but these errors were encountered: