Hello,
I have a script in R language that makes sorting using the order() method of
R language. What I need is to reimplement this method in any other language
(PHP, Perl, Python, Java maybe).
First I tried to reimplement it in php, here is some numbers that i need to
sort:
Hello, Thierry
Thank you for the fast reply
actually my php script is not correct, the correct logic is R script, by
writing this peace of code in php I tried to do the same logic that R script
does. But this php programm algorirm probably is not correct so results are
incorrect also.
I am
I have found how to reimplement order method from R language in PHP:
?php
$str = 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 10 10 10 10 10 10 10 10 10
10 10 10 10 10 10 10 10 10 10 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11
11 11 11 11 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 13
3 matches
Mail list logo