Jump to content
Software FX Community

Calculating a median of values 2


marco.shaw

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.]

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...