Quantitative finance collector
C++ Matlab VBA/Excel Java Mathematica R/Splus Net Code Site Other
Jun 15

R for Matlab Users

Posted by abiao at 14:37 | Code » R/Splus | Comments(1) | Reads(6660)
My favorite software is Matlab, but partly because R is free, more and more people & companies choose to use R as a major working language. Nothing wrong with that, I am at the moment changing some of my Kalman Filter Matlab codes to R.

One bothering issue is each software has its own coding rules, for example, in Matlab we use a(1,1) but in R we use a[1,1]; in Matlab we have ones(3,2) but in R we dont have such a command but matrix(1,3,2), etc. (I am always wondering why they can't be designed in a similar way). It does bring me trouble sometimes, luckily I came across a web page similar as cheat-sheets, it lists those widely used commands in R and corresponding commands in Matlab, very convenient indeed.

Search before trial & error: http://mathesaurus.sourceforge.net/octave-r.html

PS:
Walking Randomly suggests another excellent PDF manual consisting of 47 pages, fantastic! http://www.math.umaine.edu/~hiebeler/comp/matlabR.pdf


Tags: ,
A good one.
Pages: 1/1 First page 1 Final page
Add a comment
Emots
Enable HTML
Enable UBB
Enable Emots
Hidden
Remember
Nickname   Password   Optional
Site URI   Email   [Register]