==.psData | R Documentation |
psData
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.
## S3 method for class 'psData'
lhs == rhs
lhs |
an object of class |
rhs |
an object of class |
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.
TRUE if the two objects are equal
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.