Re: [R] Fwd: Merge

2013-05-23 Thread arun
- From: Rui Barradas To: Keniajin Wambui Cc: r-help@r-project.org Sent: Thursday, May 23, 2013 8:36 AM Subject: Re: [R] Fwd: Merge Hello, Try the following. rm(list = ls()) dat1 <- read.table(text = " Serialno  name  year outcome 1            ken    1989  d 2     

Re: [R] Fwd: Merge

2013-05-23 Thread Rui Barradas
Hello, Try the following. rm(list = ls()) dat1 <- read.table(text = " Serialno name year outcome 1 ken1989 d 2 mary 1989a 4 john1989 a 5 tom 1989 a 6 jolly 1989 d ", header = TRUE, stringsAsFactors = FA

[R] Fwd: Merge

2013-05-23 Thread Keniajin Wambui
-- Forwarded message -- From: Keniajin Wambui Date: Thu, May 23, 2013 at 11:36 AM Subject: Merge To: r-help@r-project.org I am using R 3.01 on R Studio to merge two data sets with approx 120 variables and the other with 140 variables but with a serialno as the unique identifier.