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

1
  lapplyNames(x, names, FUN, ...)

Arguments

x

List

names

Character vector identifying which elements of the list to apply FUN

FUN

The function to apply.

...

Additional arguments passed to FUN

See Also

Other Tools: qOrder

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.