Re: [R] Help me with writing function sort()

2010-04-11 Thread Barry Rowlingson
On Sun, Apr 11, 2010 at 2:30 PM, maslakos wrote: > > Hello everyone, i`m new here.. I just started with learning R language and i > have hard "homework". I need to write function like sort().. Anyone know how > to do it? Can u give me algorithm for sorting vector? x=c(1,2,-1,1,3,4) or > something

Re: [R] Help me with writing function sort()

2010-04-11 Thread Martin Morgan
On 04/11/2010 06:30 AM, maslakos wrote: > > Hello everyone, i`m new here.. I just started with learning R language and i > have hard "homework". I need to write function like sort().. Anyone know how > to do it? Can u give me algorithm for sorting vector? x=c(1,2,-1,1,3,4) or > something like that

Re: [R] Help me with writing function sort()

2010-04-11 Thread GlenB
http://lmgtfy.com/?q=sort+algorithm -- View this message in context: http://n4.nabble.com/Help-me-with-writing-function-sort-tp1836063p1836181.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://s

[R] Help me with writing function sort()

2010-04-11 Thread maslakos
Hello everyone, i`m new here.. I just started with learning R language and i have hard "homework". I need to write function like sort().. Anyone know how to do it? Can u give me algorithm for sorting vector? x=c(1,2,-1,1,3,4) or something like that.. I`m sorry for my english.. -- View this messag