Displaying 1 result from an estimated 1 matches for "tp3534730p3534730".
2011 May 19
2
Add a vector to the values in a specific dimension of an array
...ords, I
want a quicker way of doing the following:
for (m in 1:M) {
for (p in 1:P) {
for (q in 1:Q) {
A[m,,p,q] = A[m,,p,q] + x
}
}
}
Thanks in advance!
--
View this message in context: http://r.789695.n4.nabble.com/Add-a-vector-to-the-values-in-a-specific-dimension-of-an-array-tp3534730p3534730.html
Sent from the R help mailing list archive at Nabble.com.