.
Original message
>Date: Fri, 28 Jan 2011 12:34:26 +0100
>From: Martin Maechler
>Subject: Re: [R] agnes clustering and NAs
>To: gavin.simp...@ucl.ac.uk
>Cc: d.strbe...@garvan.org.au, r-help@r-project.org, Uwe Ligges
>
>
>>>>>> Gavin Simpson
>>>&
w corresponds to an
observation, and each column corresponds to a variable. All variables must be
numeric. Missing values (NAs) are allowed."
>>
>> So, I'm under the impression it handles NAs on its own ?
>>
>> - Dario.
>>
NAs on its own ?
>
> - Dario.
>
> Original message
> >Date: Thu, 27 Jan 2011 12:53:27 +
> >From: Gavin Simpson
> >Subject: Re: [R] agnes clustering and NAs
> >To: Uwe Ligges
> >Cc: d.strbe...@garvan.org.au, r-help@r-project.org
> >
l variables must be numeric. Missing
values (NAs) are allowed."
So, I'm under the impression it handles NAs on its own ?
- Dario.
Original message
>Date: Thu, 27 Jan 2011 12:53:27 +
>From: Gavin Simpson
>Subject: Re: [R] agnes clustering and NAs
>To: Uwe
On Thu, 2011-01-27 at 10:45 +0100, Uwe Ligges wrote:
>
> On 27.01.2011 05:00, Dario Strbenac wrote:
> > Hello,
> >
> > In the documentation for agnes in the package 'cluster', it says that NAs
> > are allowed, and sure enough it works for a small example like :
> >
> >> m<- matrix(c(
> > 1, 1, 1,
On 27.01.2011 05:00, Dario Strbenac wrote:
Hello,
In the documentation for agnes in the package 'cluster', it says that NAs are
allowed, and sure enough it works for a small example like :
m<- matrix(c(
1, 1, 1, 2,
1, NA, 1, 1,
1, 2, 2, 2), nrow = 3, byrow = TRUE)
agnes(m)
Call:agnes
Hello,
In the documentation for agnes in the package 'cluster', it says that NAs are
allowed, and sure enough it works for a small example like :
> m <- matrix(c(
1, 1, 1, 2,
1, NA, 1, 1,
1, 2, 2, 2), nrow = 3, byrow = TRUE)
> agnes(m)
Call:agnes(x = m)
Agglomerative coefficient: 0.1614168
7 matches
Mail list logo