search for: valdity

Displaying 1 result from an estimated 1 matches for "valdity".

Did you mean: validity
2004 Aug 25
0
S3 classes in S4 class definitions
...imposed by a validity method). But there is no guarantee whatever about the data in an object from an S3 class. It's entirely up to the functions that create or modify such objects. If you want to provide guarantees to your users, you will need a valdity method that explicitly checks the contents of S3-class objects. * To get the minimal guarantee (that the object in a slot has, or extends, the class for the slot) you should ensure that the S3 classes are known to _be_ S3 classes, with the possi...