Not very clear what you want, but perhaps... ?sortedXyData ...might help. hth
KJ "luciferyan" <anniehyh...@googlemail.com> wrote in message news:1263231740556-1011427.p...@n4.nabble.com... > > Hello, I have 49 paired data, x, y. > I have sampled x (where replacement is true), and find its mean. > How can I find the corresponding mean y, which is the paired data of above > sample x? > Thank you very much, > Annie > -- > View this message in context: > http://n4.nabble.com/find-the-corresponding-mean-y-tp1011427p1011427.html > Sent from the R help mailing list archive at Nabble.com. > ______________________________________________ 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.