Re: [R] Combine two variables

2012-09-11 Thread arun
Original Message - From: Simon Kiss To: r-help@r-project.org Cc: Sent: Tuesday, September 11, 2012 10:57 AM Subject: [R] Combine two variables Hi: I have two variables in a data frame that are the results of a wording experiment in a survey. I'd like to create a third variable that

Re: [R] Combine two variables

2012-09-11 Thread PIKAL Petr
p@r-project.org > Subject: [R] Combine two variables > > Hi: > I have two variables in a data frame that are the results of a wording > experiment in a survey. I'd like to create a third variable that > combines the two variables. Recode doesn't seem to work, because it &

Re: [R] Combine two variables

2012-09-11 Thread Rui Barradas
Hello, Inline. Em 11-09-2012 15:57, Simon Kiss escreveu: Hi: I have two variables in a data frame that are the results of a wording experiment in a survey. I'd like to create a third variable that combines the two variables. Recode doesn't seem to work, because it just recodes the first var

[R] Combine two variables

2012-09-11 Thread Simon Kiss
Hi: I have two variables in a data frame that are the results of a wording experiment in a survey. I'd like to create a third variable that combines the two variables. Recode doesn't seem to work, because it just recodes the first variable into the third, then recodes the second variable into t