add {Omisc}R Documentation

add

Description

add

Usage

add(x)

Arguments

x

a list to be summed. Useful for doing elementwise summation of a list of matrices.

Value

returns a single summed object (e.g., a matrix)

Examples

x<-list(matrix(c(1:4),nrow=2),matrix(c(1:4),nrow=2))
add(x)

[Package Omisc version 0.1.5 Index]