Description Usage Arguments Details See Also Examples
Return the CLASS property or number of dimensions.
1 2 3 | CLASS (v)
ndim (v)
|
v |
An ObjectArray. |
CLASS returns a character giving the CLASS property of the ObjectArray.
This is the class or classes of the objects within the array.
<OBJECT> means that the ObjectArray can contain any objects.
The ndim function returns an integer, giving the number of dimensions.
ObjectArray
1 2 3 4 5 6 | v <- ObjectArray (c (2, 5), CLASS="MyClass")
CLASS (v)
class (v)
ndim (v)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.