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

2019-04-27  本文已影响0人  天空的小白

-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

mapply
mapply
mapply
上一篇 下一篇

猜你喜欢

热点阅读