Skip to content
Back to formatted view

Raw Message

Message-ID: <1295273335867-3221216.post@n4.nabble.com>
Date: 2011-01-17T14:08:55Z
From: Pete Brecknock
Subject: How to doulbe all the value on a matrix
In-Reply-To: <1295273189996-3221215.post@n4.nabble.com>

typo ...

should have been

m = matrix(c(7,11,15,17,10,19,4,18,18), nrow = 3, ncol=3)

sum_m = sum(m)

new_m = sum_m-m
-- 
View this message in context: http://r.789695.n4.nabble.com/How-to-doulbe-all-the-value-on-a-matrix-tp3221213p3221216.html
Sent from the R help mailing list archive at Nabble.com.