20190427-R语言循环函数apply家族简介mapply

-Usage
mapply(FUN, ..., MoreArgs = NULL, SIMPLIFY = TRUE,
USE.NAMES = TRUE)
将多个向量(…表示,可以是原子向量,也可以是list)的每个元素
分别作为FUN的参数
-Arguments
...
可以是原子向量,也可以是list
MoreArgs
a list of other arguments to FUN.
USE.NAMES
logical; use names if the first ... argument has names, or if it is a character vector,
use that character vector as the names.
-Example

20190427-R语言循环函数apply家族简介mapply_第1张图片
mapply

20190427-R语言循环函数apply家族简介mapply_第2张图片
mapply

20190427-R语言循环函数apply家族简介mapply_第3张图片
mapply

你可能感兴趣的:(20190427-R语言循环函数apply家族简介mapply)