Re: [R] Translation of matlab vectors code into r

2012-05-06 Thread R. Michael Weylandt
Perhaps read An Intro to R (shipped with every packaging of R -- type help.start() to get it) and then look at http://cran.r-project.org/doc/contrib/Hiebeler-matlabR.pdf n_o, nan_s, etc. are not functions I have in my Matlab distribution so I can't give more advice without knowing what they

Re: [R] Translation of matlab vectors code into r

2012-05-06 Thread Hans W Borchers
Haio joakim.aback at gmail.com writes: Hi there I am new user of r, i would need some help to translate som code for vectors in matlab to r. I have managed to translate the first 7 rows, but not the rest. Could anyone give me any suggestions for this problem?? Matlab code: tempo=[];