[R] Cluster prediction from factor/numeric datasets

ngottlieb at marinercapital.com ngottlieb at marinercapital.com
Mon Jul 23 21:35:12 CEST 2007


Suggest you look at using Discrimnant Analysis (don't know which R
package has it). 
Take the Clusters created, using Discrimnant Analysis, Get Fisher Scores
for the clusters.
Then you can take new dataset applying fisher scores to see what which
defined cluster the new dataset
will be classified into.


-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Scott Bearer
Sent: Monday, July 23, 2007 1:39 PM
To: r-help at stat.math.ethz.ch
Subject: [R] Cluster prediction from factor/numeric datasets

Hi all,

I have a dataset with numeric and factor columns of data which I
developed a Gower Dissimilarity Matrix for (Daisy) and used
Agglomerative Nesting
(Agnes) to develop 20 clusters.

I would like to use the 20 clusters to determine cluster membership for
a new dataset (using predict) but cannot find a way to do this (no way
to "predict" in the cluster package).

I know I can use "predict" in cclust, kcca, and flexclust- but these
algorithms do not permit factor data or use a Gower dissimilarity
matrix, so are unusable to me.

Any suggestions?

Thanks in advance,


Scott Bearer, Ph.D.
Forest Ecologist
The Nature Conservancy
  in Pennsylvania
Community Arts Center
220 West Fourth Street, 3rd Floor
Williamsport, PA  17701

R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.

This information is being sent at the recipient's request or...{{dropped}}

More information about the R-help mailing list