Re: [R] how to search to value to another table

2011-01-31 Thread Petr Savicky
On Mon, Jan 31, 2011 at 05:35:35PM +0100, Mauluda Akhtar wrote: > Hello, > > I'm a new R user. > > I have two different dummy tables with the variable name tb1 and tb2. Hello. First, let me put your data into an R command using dput(). tb1 <- structure(list(V1 = structure(c(1L, 1L, 1L, 1L,

[R] how to search to value to another table

2011-01-31 Thread Mauluda Akhtar
Hello, I'm a new R user. I have two different dummy tables with the variable name tb1 and tb2. tb1< v1v2 v3 v4 "chr1" 2223 3 "chr1" 3637 1 "chr1" 5455 0 "chr1" 7778 1 "chr2" 8081 4 "chr2" 8586 0 "chr2" 99 1