Displaying 6 results from an estimated 6 matches for "foolike".
2016 Mar 18
2
unary class union of an S3 class
...quot;,
contains="ArrayLike",
representation(stuff="ANY")
)
showClass("MyArrayLikeConcreteSubclass") # 2 slots!!
That doesn't seem right.
Long story
----------
S4 provides at least 3 ways to create a little class hierarchy
like this:
FooLike ............. virtual class with no slot
^ ^
| |
foo anotherfoo ..... 2 concrete subclasses
(1) The "standard" way: define FooLike first, then foo and anotherfoo
as subclasses of FooLike:
setClass("FooLike")
setClass("foo",...
2016 Mar 19
2
unary class union of an S3 class
...gt; )
>
> showClass("MyArrayLikeConcreteSubclass") # 2 slots!!
>
> That doesn't seem right.
>
> Long story
> ----------
>
> S4 provides at least 3 ways to create a little class hierarchy
> like this:
>
> FooLike ............. virtual class with no slot
> ^ ^
> | |
> foo anotherfoo ..... 2 concrete subclasses
>
> (1) The "standard" way: define FooLike first, then foo and anotherfoo
> as subclasses of FooLike:
>
> set...
2016 Mar 18
0
unary class union of an S3 class
...esentation(stuff="ANY")
> )
>
> showClass("MyArrayLikeConcreteSubclass") # 2 slots!!
>
> That doesn't seem right.
>
> Long story
> ----------
>
> S4 provides at least 3 ways to create a little class hierarchy
> like this:
>
> FooLike ............. virtual class with no slot
> ^ ^
> | |
> foo anotherfoo ..... 2 concrete subclasses
>
> (1) The "standard" way: define FooLike first, then foo and anotherfoo
> as subclasses of FooLike:
>
> setClass("FooLike")
&...
2016 Mar 19
2
unary class union of an S3 class
...ikeConcreteSubclass") # 2 slots!!
>
> That doesn't seem right.
>
> Long story
> ----------
>
> S4 provides at least 3 ways to create a little class hierarchy
> like this:
>
> FooLike ............. virtual class with no slot
> ^ ^
> | |
> foo anotherfoo ..... 2 concrete subclasses
>
> (1) The "standard" way: define FooLike first, then foo and
> anotherfoo
>...
2016 Mar 19
0
unary class union of an S3 class
..."MyArrayLikeConcreteSubclass") # 2 slots!!
>>
>> That doesn't seem right.
>>
>> Long story
>> ----------
>>
>> S4 provides at least 3 ways to create a little class hierarchy
>> like this:
>>
>> FooLike ............. virtual class with no slot
>> ^ ^
>> | |
>> foo anotherfoo ..... 2 concrete subclasses
>>
>> (1) The "standard" way: define FooLike first, then foo and anotherfoo
>> as subclasses of FooLi...
2016 Mar 19
0
unary class union of an S3 class
...gt;> That doesn't seem right.
>>
>> Long story
>> ----------
>>
>> S4 provides at least 3 ways to create a little class
>> hierarchy
>> like this:
>>
>> FooLike ............. virtual class with no slot
>> ^ ^
>> | |
>> foo anotherfoo ..... 2 concrete subclasses
>>
>> (1) The "standard" way: define FooLike first, then foo and
>>...