.
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
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
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
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:
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,
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
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