[R] getting a variable from an object named using paste

2005-07-09 Thread Constantinos Antoniou
Hello, The subject could be articulated better ;(, but I am stuck... In any case, my problem is the following: I am trying to use knn, and it requires a classification. So I am using cmeans for this. What I want to do is add the classification as a new column in my data.frame (to be used

[R] getting a variable from an object named using paste

2005-07-09 Thread Constantinos Antoniou
Hello, The subject could be articulated better ;(, but I am stuck... In any case, my problem is the following: I am trying to use knn, and it requires a classification. So I am using cmeans for this. What I want to do is add the classification as a new column in my data.frame (to be used

Re: [R] getting a variable from an object named using paste

2005-07-09 Thread Uwe Ligges
Constantinos Antoniou wrote: Hello, The subject could be articulated better ;(, but I am stuck... In any case, my problem is the following: I am trying to use knn, and it requires a classification. So I am using cmeans for this. What I want to do is add the classification as a new

Re: [R] getting a variable from an object named using paste

2005-07-09 Thread Constantinos Antoniou
Indeed. Thanks and sorry, Costas PS. also, sorry about sending the original post twice... I did not want to pollute the list any more with an apology then... On 09 Ιουλ 2005, at 3:30 ΜΜ, Uwe Ligges wrote: Constantinos Antoniou wrote: Hello, The subject could be articulated better ;(,