sum_over_list_of_df: Elementwise sum over a list of (numerical) data frames

Description Usage Arguments Value Examples

View source: R/basic_functions.R

Description

Elementwise sum over a list of (numerical) data frames

Usage

1
sum_over_list_of_df(in_df_list)

Arguments

in_df_list

List of (numerical) data frames

Value

A numerical data frame with the same dimensions as the entries of in_df_list with elementwise sums

Examples

1
2
3
4
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)

slw287r/yapsa documentation built on June 7, 2020, 12:46 a.m.