Hi Martin,
right, that's exactly what I thought. Thanks for the pointer to
'getClassDef()'. Pretty obvious place to start, I have to admit ;-) But
I had this 'completeClassDefinition()' thing in a function I've written
long long ago where I didn't really know my way around class details yet.
On 05/30/2011 08:54 AM, Janko Thyson wrote:
Dear List,
when I first started to use S4 classes, I used the function
'completeClassDef()' in order to see the super- and subclasses of a
certain class:
Hi Janko -- I think 'complete' is meant as an adverb here; what you
might want is
Dear List,
when I first started to use S4 classes, I used the function
'completeClassDef()' in order to see the super- and subclasses of a
certain class:
setClass(Class=A, representation=list(a=numeric))
setClass(Class=B, contains=A, representation=list(b=character))
# Super
x -