I am not sure this is what you want but, for the common parts of the two verbs I think you can use the following.
(<@#/.~) NB. for frequency (#/.~ <@% # ) NB. for % + + nfpt=:([: <"1 ~.) ,. ([: <"0 #/.~) ,. [: <"0 #/.~ % # NB. For Text columns + nfpt2=:([: <"0 ~.) ,. ([: <"0 #/.~) ,. [: <"0 #/.~ % # NB. For Numeric columns + + (B=) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
