powered by
madness
## S3 method for class 'madness': sum(x, ..., na.rm = FALSE)## S3 method for class 'madness': prod(x, ..., na.rm = FALSE)
## S3 method for class 'madness': prod(x, ..., na.rm = FALSE)
xv <- matrix(rnorm(5*5),ncol=5) xmad <- madness(xv) prod(xv) sum(xv)
Run the code above in your browser using DataLab