[R] "eliminate" characters of one data.frame col, using another column

2009-10-21 Thread Luis F
Dear Maling list, I have a data.frame with three columns. I want to produce a fourth column which is result of "eliminating" the characters present in the second and third colum from the first. Example: a b c 1 f f 2 j h 3

[R] only "T" becomes logical colum with read.table

2008-07-18 Thread Luis F
Hello, I am a biologist and I am dealing with files composed of columns with T or A or C or G (example below) Sometimes a column is composed of only "T" and in that case, the columns becomes a logical column TRUE (example below) I know that the argument "as.is" controls the turns off turning a