> Is there an element-by-element multiplication in R, like the .* operator in > Matlab?
How about *? a <- matrix(1:4, 2, 2) b <- matrix(4:7, 2, 2,) a * b Hadley ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
