Re: [R] multiple ANOVAs

2007-12-13 Thread Ashoka Polpitiya
Kevin, I guess this may not have a one line solution (I may be wrong). I would try something like this: -Get all the unique (use 'unique') values in 'temp' -Loop through these values and extract the subset of data and perform the ANOVA on this subset. As an example, code may go something like thi

Re: [R] Rerolling k-means

2007-12-10 Thread Ashoka Polpitiya
See the 'fpc' package available in CRAN. I have found 'kmeansruns' to be quite useful. -Ashoka --- Scientist Pacific Northwest National Laboratory Richland, WA On Dec 10, 2007 4:42 AM, Christophe Genolini <[EMAIL PROTECTED]> wrote: > Hi all > > I am working on k-means algorithm (in R: kmeans( )

Re: [R] hclust in heatmap.2

2007-12-05 Thread Ashoka Polpitiya
Check the Rowv, Colv options to heatmap.2 data(mtcars) x <- as.matrix(mtcars) heatmap.2(x, Rowv=FALSE, dendrogram="column") -Ashoka Scientist - Pacific Northwest National Lab On Dec 5, 2007 4:20 PM, affy snp <[EMAIL PROTECTED]> wrote: > Dear list, > > I am using heatmap.2(x) to draw a hea