Thank you, Brian. A neat solution made immediately understandable by use of the name midpt. --Kip
On 9/24/2010 10:00 PM, Brian Schott wrote: > midpt=: -:@<:@# > median=: -:@(+/)@((<. ,>.)@midpt { /:~) > > This is taken from univariate.ijs in addons/stats/base > >> So, write a correct definition for median! --Kip Murray >> > > > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm