search for: 358299

Displaying 1 result from an estimated 1 matches for "358299".

Did you mean: 58299
2010 Oct 13
3
Matrix subscripting to wrap around from end to start of row
Perhaps it is just that I don't even know the correct term to search for, but I can find nothing that explains how to wrap around from the end to a start of a row in a matrix. For example, you have a matrix of 2 years of data, where rows are years, and columns are months. month.data = matrix(c(3,4,6,8,12,90,5,14,22, 8), nrow = 2, ncol=5) I would like to take the average of months 5:1 for