Re: [R] agnes clustering and NAs

2011-01-29 Thread Dario Strbenac
. 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 >>>&

Re: [R] agnes clustering and NAs

2011-01-28 Thread Martin Maechler
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. >>

Re: [R] agnes clustering and NAs

2011-01-28 Thread Gavin Simpson
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 > >

Re: [R] agnes clustering and NAs

2011-01-27 Thread Dario Strbenac
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

Re: [R] agnes clustering and NAs

2011-01-27 Thread Gavin Simpson
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,

Re: [R] agnes clustering and NAs

2011-01-27 Thread Uwe Ligges
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

[R] agnes clustering and NAs

2011-01-26 Thread Dario Strbenac
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