Thanks David.  That works perfectly! Although, I'm still not sure I
understand entirely why the input file says the character value "null" and
yet, it actually is NA...

On Fri, Sep 16, 2011 at 11:35 AM, David Winsemius <dwinsemius@comcast.net>wrote:

>
> On Sep 16, 2011, at 11:08 AM, David Winsemius wrote:
>
>
>> On Sep 16, 2011, at 10:36 AM, Ben Ganzfried wrote:
>>
>>  Hi guys,
>>>
>>>  snipped
>
>
>>> Second, I changed the first line of my code to:
>>> tmp <-
>>> ifelse(uncurated$days_to_**tumor_recurrence==NA,"**
>>> norecurrence","recurrence")
>>>
>>
>> I do not know why your original did not succeed but this code should have
>> been written:
>>
>> tmp <-
>> ifelse(is,na(uncurated$days_**to_tumor_recurrence),"**
>> norecurrence","recurrence")
>>
>          ^.^
>
> Except that should have been a period.
>
> --
>
> David Winsemius, MD
> West Hartford, CT
>
>

	[[alternative HTML version deleted]]

