Which function is very similar to lapply?
Answers
Answered by
0
Answer:
Explanation:
lapply returns a list of the same ,length as X , each element of which is the result of applying FUN to the corresponding element of X . sapply is a user-friendly version and wrapper of lapply by default returning a vector, matrix or, if simplify = "array" , an array if appropriate, by applying simplify2array() .
Similar questions