我正在尝试让这段代码对外部变量起作用: #This is the original code
library(tibble)graphData <- tibble(y = rep(1:nFinal,2), )
**summarise**(val1 = prop.table(questionr::wtd
假设我有一个返回两个标量的函数,我想将它与summarize一起使用。 list(mean(x), sd(x)) summarize(fn(Petal.Length)) # Error: Column `fn(Petal.Length)` must be length 1 (a summary value), not 2
summarize(c("a","b") := fn(Petal.Length))
# Error: The LHS of `:=`