Hi James,
Here is another option: all.equal() is more general, the sapply()
option I wrote assumes both data frames are basically the same, but
that maybe a few elements are different (e.g., you have two data sets
and are not sure which is more recent).
y <- x <- iris # x & y copies of iris
## c
See all.equal, a toy example:
all.equal(iris, Orange)
On Tue, Nov 23, 2010 at 3:17 PM, Jim Edd Jones wrote:
> Is it possible to use R to compare two datasets to look for discrepancies,
> as one would with the SAS procedure PROC COMPARE?
>
> Any help on this would be greatly appreciated.
>
> Ja
Is it possible to use R to compare two datasets to look for discrepancies, as
one would with the SAS procedure PROC COMPARE?
Any help on this would be greatly appreciated.
James E. Jones
135 Salina St.
Lafayette, CO 80026
[[alternative HTML version deleted]]
__
3 matches
Mail list logo