Skip to content
Prev 263843 / 398502 Next

New to R, trying to use agnes, but can't load my ditance matrix

On Mon, Jun 27, 2011 at 3:43 AM, Karen R. Khar <karen.khar at gmail.com> wrote:
At a guess, you need to actually import D10.dist into R. It looks like
you're trying to give agnes() a string that contains the path to the
file, but agnes() just sees that as a string, and of course can't
figure out what to do with it.
If you can convince whatever software you used to write out a full
symmetric matrix instead of a lower-triangular matrix, you can easily
use read.table() to import it.
Then Karen, my first suggestion is that you read one of the many
excellent intro to R guides available online.

Sarah