[R] Simple Question About Exporting Back to Excel

2012-09-26 Thread RCar
All, Relatively new R user so this is probably an easy question to answer. I am able to generate a cluster for my dataset using hclust() then ploting the data with plot(). This results in an image with a dendrogram with my sample names along the bottom. Great! However, I now need a way to get

Re: [R] Simple Question About Exporting Back to Excel

2012-09-26 Thread ilai
On Wed, Sep 26, 2012 at 3:11 PM, RCar ryan.carst...@utsouthwestern.eduwrote: All, Relatively new R user so this is probably an easy question to answer. I am able to generate a cluster for my dataset using hclust() then ploting the data with plot(). This results in an image with a dendrogram

Re: [R] Simple Question About Exporting Back to Excel

2012-09-26 Thread David L Carlson
- project.org] On Behalf Of RCar Sent: Wednesday, September 26, 2012 4:12 PM To: r-help@r-project.org Subject: [R] Simple Question About Exporting Back to Excel All, Relatively new R user so this is probably an easy question to answer. I am able to generate a cluster for my dataset using hclust

Re: [R] Simple Question About Exporting Back to Excel

2012-09-26 Thread Rui Barradas
Hello, In the help page for ?hclust you will see the return values. It has an element order, a vector giving the permutation of the original observations suitable for plotting. From the first example on that page: hc - hclust(dist(USArrests), ave) plot(hc) ix - hc$order