Rank function?

Tags:
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #910 Score: 0
    Tim Erickson
    Participant

    I was surprised not to find rank as a CODAP function. I could use it to recode a continuous value into quintiles (say). That is,

    
    Quintile = ceil( 5 * rank(foo)/count())
    

    Is there a better way?

    (I see in the code and docs that percentile might have done it, but at the moment it returns the percentile of a specific value you give the function rather than, say, the percentile of this case)

    #911
    Bill Finzer
    Keymaster

    Hi Tim,

    You are the first to request rank. I’ll put it at the top of the feature requests!

    Bill

    #937
    Kathy Shafer
    Participant

    Hi Bill,

    I would also like the rank function. I use it in my hypothesis test simulation (Fathom and TP). I did create a work around, but that would make things easier.

    Kathy

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.