Message-ID: <CAA4+SXPAHb3Cr-4tnQg9uhOLDpcPrdTqGEVjL8Gg3woxu_PqCQ@mail.gmail.com>
Date: 2012-11-15T09:27:57Z
From: Nick Duncan
Subject: Replacing string in matrix with zero
In-Reply-To: <50A46B20.4040202@xtra.co.nz>
Dear Rolf,
You are of course quite right, however I wish the diagonal to be
ignored by setting the value to zero. The inf was just recognising the
flow value from self to self.
A very fair point though.
Best,
Nick
On 15 November 2012 04:10, Rolf Turner <rolf.turner at xtra.co.nz> wrote:
> On 15/11/12 11:13, Nick Duncan wrote:
>>
>> Dear All,
>>
>> I have a matrix in which the diagonal has the string "Inf" in it. In
>> order to be able to do cluster analysis this needs to be replaced with
>> a Zero.
>
>
> I am very sceptical about this assertion. "Inf" means infinity
> which is of course *NOT* the same as 0. By anyone's standards.
>
> I know nothing about cluster analysis, so I may be toadally out
> to lunch in this, but I suspect that you need to re-think.
>
> cheers,
>
> Rolf Turner
>
> <SNIP>
--
An Englishman, even if he is alone,
forms an orderly queue of one.
--George Mikes