powered by
add
add(x)
a list to be summed. Useful for doing elementwise summation of a list of matrices.
returns a single summed object (e.g., a matrix)
# NOT RUN { x<-list(matrix(c(1:4),nrow=2),matrix(c(1:4),nrow=2)) add(x) # }
Run the code above in your browser using DataLab