Displaying 1 result from an estimated 1 matches for "meds3x3".
Did you mean:
med3x3
2012 Feb 25
2
Finding name of variable supplied as function argument
...ere:
Row 1: X > median(X)
Row 2: X = median(X)
Row 3: X < median(X)
Col 1: Y < median(Y)
Col 2: Y = median(Y)
Col 3: Y > median(Y)
(with intersections of these conditions for the individual cells).
I can easily define fixed rownames and colnames within the
function so that the call
meds3x3(G1,G2)
returns a result that looks like:
Y<Med Y=Med Y>Med
X>Med 29 0 9
X=Med 4 0 1
X<Med 7 0 30
However, what I'd like to be able to do is pick up the names
"G1" and "G2" from the function call so that the resul...