Re: [R] Help!!! from R beginner

2011-02-05 Thread Tae-Jin Lee
E_related", "black", "orange") On Fri, Feb 4, 2011 at 7:09 PM, Tae-Jin Lee wrote: Hello, I'm trying to add a column to the following data frame. The new column will contain "black" when the 5th column(if_TE_related) is "TE_related", or &quo

[R] Fwd: Help!!! from R beginner

2011-02-04 Thread Tae-Jin Lee
Sorry. I made a typo. It is the 5th column (not 4th). Thank you. Tae-Jin Begin forwarded message: > From: Tae-Jin Lee > Date: February 4, 2011 7:09:38 PM EST > To: r-help@R-project.org > Subject: Help!!! from R beginner > > Hello, > > I'm trying to add a column to

[R] Help!!! from R beginner

2011-02-04 Thread Tae-Jin Lee
Hello, I'm trying to add a column to the following data frame. The new column will contain "black" when the 5th column(if_TE_related) is "TE_related", or "orange" when the 4th column is " " (space). "chromo""MSU_locus" "end5" "end3" "if_TE_related" "chr04" "LOC_Os04g01006"