HJ YAN
2012-Nov-13 11:12 UTC
[R] Can't remember which package I used. Anyone can help please?
Dear R users I tried an example earlier to check the results using two different methods of clustering with same data set, and for both methods, say method A and method B. Also I decided to have same number of groups/clusters (here 8 was chosen). I found a good graphical tool in R to compare the distribution of the number in each group/cluster created by method A and method B, e.g. how many of the individuals are clustered as 'Group 1' both by method A and B, and how many are clustered as 'Group 2' both by method A and B and so on. In this case we have 30 and 28 respectively (please see attached table and plot). I lost my code and can not remember which packages/functions I used here? Could anyone recognize and give me some clue? I only made a note 'crosstable' if can ring your bell... Many thanks in advance HJ
Mohammed Ouassou
2012-Nov-13 14:07 UTC
[R] Can't remember which package I used. Anyone can help please?
try : sessionInfo() M.O On ti., 2012-11-13 at 11:12 +0000, HJ YAN wrote:> Dear R users > > I tried an example earlier to check the results using two different > methods of clustering with same data set, and for both methods, say method > A and method B. Also I decided to have same number of groups/clusters (here > 8 was chosen). > > I found a good graphical tool in R to compare the distribution of the > number in each group/cluster created by method A and method B, e.g. how > many of the individuals are clustered as 'Group 1' both by method A and B, > and how many are clustered as 'Group 2' both by method A and B and so on. > In this case we have 30 and 28 respectively (please see attached table and > plot). > > I lost my code and can not remember which packages/functions I used here? > Could anyone recognize and give me some clue? I only made a note > 'crosstable' if can ring your bell... > > Many thanks in advance > > HJ > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
PIKAL Petr
2012-Nov-13 15:24 UTC
[R] Can't remember which package I used. Anyone can help please?
Hi> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of HJ YAN > Sent: Tuesday, November 13, 2012 12:12 PM > To: r-help at r-project.org > Subject: [R] Can't remember which package I used. Anyone can help > please? > > Dear R users > > I tried an example earlier to check the results using two different > methods of clustering with same data set, and for both methods, say > method A and method B. Also I decided to have same number of > groups/clusters (here > 8 was chosen). > > I found a good graphical tool in R to compare the distribution of the > number in each group/cluster created by method A and method B, e.g. how > many of the individuals are clustered as 'Group 1' both by method A and > B, and how many are clustered as 'Group 2' both by method A and B and > so on. > In this case we have 30 and 28 respectively (please see attached table > and plot). > > I lost my code and can not remember which packages/functions I used > here? > Could anyone recognize and give me some clue? I only made a note > 'crosstable' if can ring your bell...If you did not save history of your commands you need to search in clustering packages e.g. from CRAN Task View. If you saved history, you could look to .Rhistory file. Regards Petr> > Many thanks in advance > > HJ
David Winsemius
2012-Nov-13 18:15 UTC
[R] Can't remember which package I used. Anyone can help please?
On Nov 13, 2012, at 3:12 AM, HJ YAN wrote:> Dear R users > > I tried an example earlier to check the results using two different > methods of clustering with same data set, and for both methods, say method > A and method B. Also I decided to have same number of groups/clusters (here > 8 was chosen). > > I found a good graphical tool in R to compare the distribution of the > number in each group/cluster created by method A and method B, e.g. how > many of the individuals are clustered as 'Group 1' both by method A and B, > and how many are clustered as 'Group 2' both by method A and B and so on. > In this case we have 30 and 28 respectively (please see attached table and > plot). > > I lost my code and can not remember which packages/functions I used here? > Could anyone recognize and give me some clue? I only made a note > 'crosstable' if can ring your bell...If you want to find all package that have a function spelled "crosstable" do this: install.packages("sos") require(sos) findFn("crosstable") If you wnat to see a large list of packages that do classification then do this: Search Google with terms: R Cran task views classification -- David Winsemius, MD Alameda, CA, USA