A function in the *apply family is an abstraction of a for loop. Compared with the for loops *apply functions have the following advantages:
Require less code to write.
Doesn't have an iteration counter.
Doesn't use temporary variables to store intermediate results.
However for loops are m...