R comes with
number of loop functions, to make users task simpler. Following are the loop
functions with brief description. In subsequent posts, I am going to explain,
each in detail.
Prevoius
Next
Home
lapply : Loop over a list and evaluate a
function on each element.
sapply : Same as lapply, but user friendly
version of lapply
apply : Apply a function over the margins of
array
tapply : Applay a function over subset of
vectors
mapply : Multi variate version of apply
No comments:
Post a Comment