apply family in r apply(), lapply(), sapply(), mapply() and tapply()