sum_over_list_of_df {YAPSA} | R Documentation |
Elementwise sum over a list of (numerical) data frames
sum_over_list_of_df(in_df_list)
in_df_list |
List of (numerical) data frames |
A numerical data frame with the same dimensions as the entries of
in_df_list
with elementwise sums
A <- data.frame(matrix(c(1,1,1,2,2,2),ncol=2)) B <- data.frame(matrix(c(3,3,3,4,4,4),ncol=2)) df_list <- list(A=A,B=B) sum_over_list_of_df(df_list)