Re: [R] Kohonen Package

2009-11-29 Thread Gavin Simpson
On Sat, 2009-11-28 at 17:16 -0700, Peter Ehlers wrote: I haven't used pkg:kohonen, so this is just guessing: 1. are you using an old version of the package? I deleted the original email, so I'll reply here instead. The example provided by the OP works for me with on R 2.10-patched and:

Re: [R] Kohonen Package

2009-11-29 Thread Brock Tibert
: From: Gavin Simpson gavin.simp...@ucl.ac.uk Subject: Re: [R] Kohonen Package To: Peter Ehlers ehl...@ucalgarywas.ca Cc: Brock Tibert btibe...@yahoo.com, r-help@r-project.org Date: Sunday, November 29, 2009, 6:21 AM On Sat, 2009-11-28 at 17:16 -0700, Peter Ehlers wrote: I haven't used

Re: [R] Kohonen Package

2009-11-29 Thread Peter Ehlers
gavin.simp...@ucl.ac.uk Subject: Re: [R] Kohonen Package To: Peter Ehlers ehl...@ucalgarywas.ca Cc: Brock Tibert btibe...@yahoo.com, r-help@r-project.org Date: Sunday, November 29, 2009, 6:21 AM On Sat, 2009-11-28 at 17:16 -0700, Peter Ehlers wrote: I haven't used pkg:kohonen, so this is just

[R] Kohonen Package

2009-11-28 Thread Brock Tibert
Hi All, I am still learning R, but making, IMO, great strides. I learned about Kohonen/Self-Organizing Maps in class and I would like to try to replicate some of the things we have seen in class. Below is my code. I am trying to create a u-matrix. In the documentation on page 9 it appears

Re: [R] Kohonen Package

2009-11-28 Thread Peter Ehlers
I haven't used pkg:kohonen, so this is just guessing: 1. are you using an old version of the package? 2. don't call the output of function som() 'som'. As people around here might say: would you call your iguana 'iguana'? 3. have you used str() on your object to check what it really contains?