Briefly, the reason for using this type of structure is to avoid the issue
which I posted to this list before, where in 2.0.1 matrix no long 'is'
array for the purposes of S4, and therefore an extract drop=TRUE can, in a
special case, lead to an error.
Giles Heywood
- - - - -
Example:
setClass("A",representation("character"))
setClass("B",representation("A"))
Slots:
Name: .Data
Class: character
Extends:
Class "A", directly
Class "character", by class "A"
Class "vector", by class "A"
is(new("B",new("A","abc"))@.Data,"A")
[1] FALSE
---------------------------------------------------------------------------
This message (including any attachments) is confidential and...{{dropped}}