Skip to content
Prev 102363 / 398500 Next

summing elements in a list of functions

James Foadi <jf117 at york.ac.uk> writes:
rrr <- function(x) sum(sapply(ttt,function(f)f(x)))