RE: [R] paste and NAs

2003-07-23 Thread Benjamin . STABLER
I didn't realize that ifelse is vectorized. Thanks for the suggestion. >-Original Message- >From: Thomas Lumley [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 23, 2003 11:50 AM >To: STABLER Benjamin >Cc: [EMAIL PROTECTED]; GREGOR Brian J >Subject: Re: [R] paste

Re: [R] paste and NAs

2003-07-23 Thread Thomas Lumley
On Wed, 23 Jul 2003 [EMAIL PROTECTED] wrote: > I understand how R treats NAs but in the situation below it would be nice to > have a na.skip argument to paste so it does not convert the NAs to "NA"s and > simply skips those elements of the vector for pasting. > > > x > [1] "2.13" "2.3" NA