Skip to content
Prev 313783 / 398503 Next

R beginner: matrix algebra

Hi, I have an n x m matrix of numerical observations. ie. stock prices

I wish to convert the matrix of observations to a matrix of simple returns
(by taking the differences between (column) observations.)

Can any good soul suggest a function for this? 



--
View this message in context: http://r.789695.n4.nabble.com/R-beginner-matrix-algebra-tp4653335.html
Sent from the R help mailing list archive at Nabble.com.