What is "lapply"
lapply is a function in R that returns a list of the same size as argument X, each of its elements being the result of the application of the function to the corresponding element of X.
lapply is a function in R that returns a list of the same size as argument X, each of its elements being the result of the application of the function to the corresponding element of X.