Apply Functions in R | lapply() | sapply() | mapply() | tapply() in R | Iteration without loops in R

Описание к видео Apply Functions in R | lapply() | sapply() | mapply() | tapply() in R | Iteration without loops in R

Apply Family of functions is in-built functionality of R and is an easy way to avoid loops and reduces computation time.
The video summarizes :
apply() in R: Apply a function over the margins of an array
-lapply() in R: Loop over a list and evaluate a function on each element
-sapply in R: same as lapply but try to simplify the result
-mapply in R: Iteration over multiple lists
-tapply in R: apply a function over subsets of a vector

It also covers rep() function in R

Комментарии

Информация по комментариям в разработке