[R] R beginner: matrix algebra

kevj1980 kevin.kidney at cameronhume.com
Mon Dec 17 18:16:53 CET 2012

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.

More information about the R-help mailing list