Concept Flow - lapply and sapply
Start with a list/vector
Apply function to each element
lapply: returns list
Output: list
Both lapply and sapply apply a function to each element of a list or vector. lapply always returns a list, while sapply tries to simplify the result to a vector or matrix if possible.
