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 maech...@stat.math.ethz.ch 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 lig...@statistik.tu-dortmund.de Gavin Simpson gavin.simp

Re: [R] agnes clustering and NAs

2011-01-28 Thread Gavin Simpson
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. Original message Date: Thu, 27 Jan 2011 12:53:27 + From: Gavin Simpson gavin.simp...@ucl.ac.uk Subject: Re: [R] agnes clustering

Re: [R] agnes clustering and NAs

2011-01-28 Thread Martin Maechler
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 gavin.simp...@ucl.ac.uk Subject: Re: [R] agnes clustering and NAs

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:

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, 2, 1, NA, 1,

Re: [R] agnes clustering and NAs

2011-01-27 Thread Dario Strbenac
under the impression it handles NAs on its own ? - Dario. Original message Date: Thu, 27 Jan 2011 12:53:27 + From: Gavin Simpson gavin.simp...@ucl.ac.uk Subject: Re: [R] agnes clustering and NAs To: Uwe Ligges lig...@statistik.tu-dortmund.de Cc: d.strbe...@garvan.org.au, r-help@r

[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