hi , Now I have two dataset and want to compare them with same sample. Dataset A: year mon day obs 2010 03 12 12 2010 03 18 22 2010 04 12 62 2010 07 24 29
Dataset B: year mon day obs 2010 03 12 15 2010 04 12 57 2010 07 24 32 2010 08 23 15 As you see,dataset A and B have several observation data but their obs data is not same everyday. Now I want to compare the data from two dataset in the same time. How could I write the R script? errdata<-subset(A,A$V11==Bdata$V11 & A$V12==B$V12) this command seems failed.How could I? -- [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.