【发布时间】:2020-03-31 01:26:11
【问题描述】:
我试图理解为什么这段代码有效:
tmp <- list(this = list(1:5),
that = list(10*c(1:5)),
other = list(100*c(1:5)))
tmp %>% pmap(function(this, that, other) paste(this, that, other))
...但以下代码会产生“未使用的参数”错误:
tmp %>% pmap(function(a, b, c) paste(a, b, c))
我遇到了this GitHub 帖子,但我仍然不清楚它如何应用......谢谢!
【问题讨论】: