lapply_names {surveydata} | R Documentation |
Applies function only to named elements of a list.
Description
This is useful to clean only some columns in a list (or data.frame
or surveydata
object). This is a simple wrapper around lapply()
where only the named elements are changed.
Usage
lapply_names(x, names, FUN, ...)
Arguments
x |
list |
names |
character vector identifying which elements of the list to apply FUN |
FUN |
function to apply. |
... |
additional arguments passed to |
See Also
Other Tools:
question_order()
[Package surveydata version 0.2.7 Index]