Here's how I might approach this issue,
for arbitrary data lumped together in this
fashion"
 
split=: {. ,&< }.
splat=:4 :0
 'a b'=.split y
 'label row0'=. split a
 'col0 c'=.split|:b
 (label,;:x),(>,{col0 ,&< row0),.,|:c
)
 
   'cat val' splat tst
 
-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to