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.tur...@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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to