Re: [R] S4 class slot type S4 class

2018-05-21 Thread Martin Morgan
On 05/21/2018 12:06 AM, Glenn Schultz wrote: All, I am considering creating an S4 class whose slots (2) are both S4 classes.  Since an S4 slot can be an S3 class I figure this can be done.  However, the correct syntax of which I am unsure.  Reviewing the docs I have come to the following

[R] S4 class slot type S4 class

2018-05-20 Thread Glenn Schultz
All, I am considering creating an S4 class whose slots (2) are both S4 classes.   Since an S4 slot can be an S3 class I figure this can be done.  However, the correct syntax of which I am unsure.  Reviewing the docs I have come to the following conclusion: SetClass('myfoo',