Jump to content
Software FX Community
Sign in to follow this  
marco.shaw

Calculating a median of values 2

Recommended Posts

In an earlier posting, I provided a script to calculate a median of values formatted like this:

10

20

300

In my blog post, I've added a script that can get the medial of values formatted like this:

User1,10

User1,20

User2,20

User2,40

The output would be something like this as the median for each user:

User1,10.5

User2,30

[Edit Jan 4th, 2007: I've removed the link to my blog.  There is a problem with my script that I overlooked.]

[Edit Jan 18th, 2007: I think I've fixed my script.]

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...