[R] swiss.x

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Sep 10 07:32:38 CEST 2004

On Thu, 9 Sep 2004, T. Murlidharan Nair wrote:

> Is the swiss data set in R the same as S dataset swiss.x .

If that is meant to be a question, no.

> I was trying out some clustering by doing the following that I got from
> Venables and Ripley's book.

Not from the current edition, p. 317.

> h<-hclus(dist(swiss.x), method= "connected")
> plclust(h)
> cutree(h,3)
> plclust(clorder(h,cutree(h,3)))
> I tried swiss instead of swiss.x, it doesnot seem happy.

If you want to use our book with R, please use the 2002 edition that
covers R. In the MASS package you will find R versions of the scripts for
(one of our books), as documented in the book and the book's website.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list