==.psData {fitPS} | R Documentation |
S3 method for objects of class psData
Description
Tests to see if two objects of class psData
are equal. That is
their type
is the same, and the data contained in data
is the
same. See readData
for a description of the psData
class.
Usage
## S3 method for class 'psData'
lhs == rhs
Arguments
lhs |
an object of class |
rhs |
an object of class |
Details
NOTE: the notes
member variable is ignored in this function
as it is unlikely that a user would want to see if the notes are the same.
Value
TRUE if the two objects are equal
Examples
p = readData(system.file("extdata", "p.xlsx", package = "fitPS"))
p1 = makePSData(n = 0:2, count = c(98, 1, 1), type = "P")
p2 = makePSData(n = 0:2, count = c(97, 2, 1), type = "P")
p == p1 ## TRUE
p == p2 ## FALSE
p1 == p2 ## FALSE
[Package fitPS version 1.0.1 Index]