Hello, thanks for your answer. mapply fits to my needs. But I don't know how many items would "tree" have. I can't write them all by hand. How can I generate the arguments for mapply? mapply(mean, tree[[1]]$node$values, tree[[2]]$node$values, ... tree[[k]]$node$values); Kind regards, Sebastian