Data Science Week 03 - 02 ## The apply() family - apply() - lapply() - sapply() - vapply() - mapply() - rapply() - tapply() ----------- apply() apply(X, MARGIN, FUN, ... ) - X is matrix or dataframe - MARGIN is a variable defining how the function is applied : -- MARGIN = 1, it applies over rows -- MARGIN = 2, it applies over columns - FUN is the function that you want to apply to the data examp.....
원문 링크 : Data Science Week 03 - 02