Re: [R] Fwd: problem with kmeans

2014-04-29 Thread dcarlson
You really should read the instructions before complaining. The manual page for kmeans clearly states that it works on "a numeric matrix of data." That is not what you provided. You gave it a distance matrix. The function pam() will work with a distance matrix if it is properly labeled as such, but

Re: [R] Comparing initial eigenvalues to broken stick results

2014-04-14 Thread dcarlson
It helps a great deal if you provide a small data set using dput() and indicate what packages need to be loaded for the functions you are using. This example uses random data so there are no eigenvalues above the initial broken stick values: > set.seed(42) > x <- matrix(rnorm(200), 20, 10) > requi

Re: [R] average of rows of each column

2014-04-07 Thread dcarlson
Actually how about 1:30pm today. I'm on Alvard's Jobinar panel from 12:30-1:30pm. David -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of David Carlson Sent: Friday, April 4, 2014 3:15 PM To: 'eliza botto'; r-help@r-project.org Subjec