Re: [R] Why CLARA clustering method does not give the same classes as when I do clustering manually?

2016-02-21 Thread Hennig, Christian
Clara uses the Euclidean distance. Why you get different results can only be said if you provide a reproducible code example for both what you did in clara and what you did "manually". Best wishes, Christian *** --- *** Christian Hennig University College London, Department of Statistical

Re: [R] R CMD check Error: package MASS was built before R 3.0.0 - not true!?

2013-10-29 Thread Hennig, Christian
, Department of Statistical Science Gower St., London WC1E 6BT, phone +44 207 679 1698 c.hen...@ucl.ac.uk, www.homepages.ucl.ac.uk/~ucakche From: Jeff Newmiller jdnew...@dcn.davis.ca.us Sent: 29 October 2013 15:12 To: Hennig, Christian; r-help-request Mailing List

Re: [R] cluster analysis in R

2012-11-16 Thread Hennig, Christian
Dear Katherine, function flexmixedruns in package fpc may do what you want; it fits mixtures with continuous and categorical variables, can use the BIC for giving you the number of mixture components and also gives you posterior probabilities for cases to belong to components. Note that

[R] Problems with lda-CV, and collinear variables in lda

2012-08-14 Thread Hennig, Christian
Dear R-help list, two issues regarding lda. 1) I'm puzzled by the fact that lda's in-build cross-validation gives results different from the manual cross-validation routine that I run (of course mine may be wrong, but I don't think so). See here: library(MASS) set.seed(12345) n - 50 p - 10 #