Displaying 1 result from an estimated 1 matches for "idatatype1".
Did you mean:
idatatype
2003 Jun 24
1
S4 method setClass prototype definition question
...## define a base class (virtual) without prototype
setClass("IDataType",
representation("VIRTUAL",
valid="logical"),
validity=NULL,
sealed=TRUE)
## same now with prototype definition
setClass("IDataType1",
representation("VIRTUAL",
valid="logical"),
prototype=list(valid=TRUE),
validity=NULL,
sealed=TRUE)
## and now the derived class in question
## the slot under investigatin is 'valid'...