The sort function [🇷 for BE/BA]

posted by ElMaestro  – Denmark, 2024-04-03 00:44 (792 d 10:23 ago) – Posting: # 23932
Views: 15,938

Hi Helmut,

❝ why not simply sort()?

❝    x <- c(6, 7, 5, 8)

❝    x; sort(x)

❝    [1] 6 7 5 8

❝    [1] 5 6 7 8


Sorting does another thing than what I needed.
I was looking for exactly what rank does, although at the time I wrote the post I did not know this function was there. So I initially thought order was appropriate, and I got very confused about it :-)

It all relates to SaToWIB and the functions that compare two concentration vectors. More shall be revealed :cool:

Pass or fail!
ElMaestro

Complete thread:

UA Flag
Activity
 Admin contact
23,653 posts in 4,991 threads, 1,571 registered users;
502 visitors (0 registered, 502 guests [including 21 identified bots]).
Forum time: 11:07 CEST (Europe/Vienna)

I’m all in favor of the democratic principle
that one idiot is as good as one genius, but I draw the line
when someone takes the next step and concludes
that two idiots are better than one genius.    Leo Szilard

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5