lapplyNames: 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 just a wrapper
around lapply
where only the named elements
are changed.
Usage
lapplyNames(x, names, FUN, ...)
Arguments
names
Character vector identifying which elements
of the list to apply FUN
...
Additional arguments passed to FUN