On Sun, Apr 11, 2010 at 2:30 PM, maslakos <masla...@gmail.com> 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.. I`m sorry for my english.. > --
"homework"? You also need to read the R-help mailing list FAQ. Section four: "Basic statistics and classroom homework: R-help is not intended for these." Also be advised that if this is class homework that your teachers probably read R-help too. Barry ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.