### Name: eapply ### Title: Apply a Function over values in an environment ### Aliases: eapply ### Keywords: iteration environment list ### ** Examples require(utils); require(stats) env <- new.env() env$a <- 1:10 env$beta <- exp(-3:3) env$logic <- c(TRUE,FALSE,FALSE,TRUE) # what have we there? eapply(env, str) # compute the mean for each list element eapply(env, mean) # median and quartiles for each list element eapply(env, quantile, probs = 1:3/4) eapply(env, quantile)