Displaying 1 result from an estimated 1 matches for "312229".
Did you mean:
12229
2008 Mar 15
1
length of S4
Hi the list,
With basic type, length gives the length of the vector
Wtih list, length gives the number of item
With S4 object, length gives...one. Even with an objet with empty slot.
setClass("E",representation(e="numeric"))
[1] "E"
length(new("E"))
[1] 1
setClass("E",representation(e="matrix"))
[1] "E"