Re: [R] Creating new variables in R

2015-10-26 Thread PIKAL Petr
Hi > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Duncan > Murdoch > Sent: Monday, October 26, 2015 11:58 AM > To: Lorenz, Jennifer; r-help@r-project.org > Subject: Re: [R] Creating new variables in R > > On 26/10/2015 6

Re: [R] Creating new variables in R

2015-10-26 Thread Duncan Murdoch
On 26/10/2015 6:24 AM, Lorenz, Jennifer wrote: > Hi, > > I have a question regarding the creation of new variables on the basis of > existing ones in R. > > I have two variables containing information on parents' educational degree > (e.g. 1 'high school degree', 2 'college degree', etc.). I

[R] Creating new variables in R

2015-10-26 Thread Lorenz, Jennifer
Hi, I have a question regarding the creation of new variables on the basis of existing ones in R. I have two variables containing information on parents' educational degree (e.g. 1 'high school degree', 2 'college degree', etc.). I would like to create a new variable for 'parents' highest

Re: [R] Creating new variables in R

2015-10-26 Thread Erich Neuwirth
ay, October 26, 2015 11:58 AM >> To: Lorenz, Jennifer; r-help@r-project.org <mailto:r-help@r-project.org> >> Subject: Re: [R] Creating new variables in R >> >> On 26/10/2015 6:24 AM, Lorenz, Jennifer wrote: >>> Hi, >>> >>> I have a question

Re: [R] Creating new variables in R

2015-10-26 Thread peter dalgaard
ect.org >>> <mailto:r-help-boun...@r-project.org>] On Behalf Of Duncan >>> Murdoch >>> Sent: Monday, October 26, 2015 11:58 AM >>> To: Lorenz, Jennifer; r-help@r-project.org <mailto:r-help@r-project.org> >>> Subject: Re: [R] Creating new

Re: [R] Creating new variables in R

2015-10-26 Thread Duncan Murdoch
gt;> >> Hi >> >>> -Original Message- >>> From: R-help [mailto:r-help-boun...@r-project.org <mailto:r-help-boun...@r-project.org>] On Behalf Of Duncan >>> Murdoch >>> Sent: Monday, October 26, 2015 11:58 AM >>> To: Lorenz, Jenni