[R] Shifting cells and removing blanks

2013-03-26 Thread ankur verma
Hi , I've been struggling with this problem. Initially I thought something like a na.locf would help but I'm at a dead end. I have a data set like this: ID Prod1 Prod2 Prod3 Prod4 Prod5 01A - B- C 02 - F - G

Re: [R] Shifting cells and removing blanks

2013-03-26 Thread Nordlund, Dan (DSHS/RDA)
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of ankur verma Sent: Tuesday, March 26, 2013 10:22 AM To: r-help@r-project.org Subject: [R] Shifting cells and removing blanks Hi , I've been struggling with this problem

Re: [R] Shifting cells and removing blanks

2013-03-26 Thread arun
: Sent: Tuesday, March 26, 2013 1:34 PM Subject: Re: [R] Shifting cells and removing blanks -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of ankur verma Sent: Tuesday, March 26, 2013 10:22 AM To: r-help@r-project.org Subject: [R