[R] Partitioning Around Mediods then rpart to follow

Terry Therneau therneau at mayo.edu
Mon Dec 5 14:24:03 CET 2011


Yes, that seems like a sensible idea to me.

Terry Therneau 
On Sat, 2011-12-03 at 12:00 +0100, r-help-request at r-project.org wrote:
> The problem:  There are no a priori groupings to run a classification
> on
> 
> My solution:
> 
> This is a non-R code question, so I appreciate any thoughts.  I have 
> used pam in the cluster package proceeded by sillohouette to find the 
> optimum number of clusters on scaled and centered data.  I have
> followed 
> this by a classification tree analysis with rpart to discern which 
> variables drive the clustering on the original data.  Is this a
> sensible 
> approach?
> many thanks,
> 
> Stephen Sefick
>



More information about the R-help mailing list