s-news
[Top] [All Lists]

Re: Compare two data frames

To: "Shepherd, Marsha (NIH/NIEHS)" <shepher1@niehs.nih.gov>, S-News <s-news@wubios.wustl.edu>
Subject: Re: Compare two data frames
From: "Richard M. Heiberger" <rmh@temple.edu>
Date: Mon, 24 Jan 2005 13:32:14 -0500
Assuming the two data.frames A and B have the same dimensions,
you probably want to compare them with ==
as in 
  A == B

For floating point numbers you will probably want to use relative
error.  See  ?Comparison

<Prev in Thread] Current Thread [Next in Thread>