walk.Rd
Like lapply, but return .x instead of the results of .f
.x
.f
walk(.x, .f, ...)
an atomic vector or a list
vector
list
a function
function
arguments passed on to .f
walk(month.name, print) #> [1] "January" #> [1] "February" #> [1] "March" #> [1] "April" #> [1] "May" #> [1] "June" #> [1] "July" #> [1] "August" #> [1] "September" #> [1] "October" #> [1] "November" #> [1] "December"