> I could of course do this the tedious way by simply entering
> the name-strings "G1", "G2" as arguments as well as the variable
> names G1, G2, in a call like
>
> meds3x3(G1,G2,"G1","G2")
>
> But I'd like to simply be able to pick up, within the function,
> the names of the variables that were
[See in-line below]
On 25-Feb-2012 ilai wrote:
> On Sat, Feb 25, 2012 at 12:53 PM, Ted Harding
> wrote:
>
>> I have defined
>> a function med3x3() such that, given vectors X,Y,
>> med3x3(X,Y) returns a 3x3 table
> ...
>> But I'd like to simply be able to pick up, within the function,
>> the name
On Sat, Feb 25, 2012 at 12:53 PM, Ted Harding wrote:
> I have defined
> a function med3x3() such that, given vectors X,Y,
> med3x3(X,Y) returns a 3x3 table
...
> But I'd like to simply be able to pick up, within the function,
> the names of the variables that were used as arguments in the
> func
Greetings All.
I want to do the following simple thing. I have defined
a function med3x3() such that, given vectors X,Y,
med3x3(X,Y) returns a 3x3 table where:
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 inters
4 matches
Mail list logo