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.

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 FUN

See also

Other Tools: question_order()