Hi all,
I apologize in advance for the length of this post, but I wanted to make sure I
was clear.
I am trying to merge two dataframes that share a number of rows (but some are
unique to each data frame). Each row represents a subject in a study. The
problem is that sex is coded differently
On Thu, 9 Apr 2009 mohinder_da...@yahoo.com wrote:
Hi all,
I apologize in advance for the length of this post, but I wanted to make sure
I was clear.
Good strategy.
I tried this:
myFrame2$newSex - ifelse(myFrame2$newSex ==1 || myFrame2$newSex == 2,
myFrame2$newSex, 0)
First, you
Thank you for your help!
--- On Thu, 4/9/09, Thomas Lumley tlum...@u.washington.edu wrote:
From: Thomas Lumley tlum...@u.washington.edu
Subject: Re: [R] better way of recoding factors in data frame?
To: mohinder_da...@yahoo.com
Cc: r-help@r-project.org
Date: Thursday, April 9, 2009, 2:10
3 matches
Mail list logo