Add all non-NULL elements of list.

addNonNulls(compList)

Arguments

compList

List of numeric matrices or data.frames of the equal dimensions.

Value

Matrix or data.frame containing sum of all list elements where is.null is FALSE.