Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.SOC.4.64.1101201435550.15006@solcom.hrz.uni-giessen.de>
Date: 2011-01-20T13:43:03Z
From: Gerrit Eichner
Subject: puzzled with plotmath for matrix indices
In-Reply-To: <4D383474.4030003@statistik.tu-dortmund.de>

Claudia,

Mittelhessen! ;-)

>> thanks & viele Gr??e nach Oberhessen :-)

>>>> plot (1, 1, ylab = expression (Z[list(i,i)]))
>> though that cannot be evaluated, either (due to [ not knowing what to do
>> with an index list)

Something is missing; this last sentence of yours appears to be not 
complete, does it?


Regarding Uwe's remark and Peter's nice aesthetic suggestion:

> plot( 1, 1, xlab = substitute( Z[list(~i, j)], list( i = 1, j = 2)))

should solve both "problems".

This does work even in R as old as 2.7.1 (and, of course, for a more 
recent version as Uwe already stated).

  Best regards / Beste Gr??e  --  Gerrit