Learn R Programming

vectools (version 0.2.0)

02_language-like_functions: Language-Like Functions

Description

Return 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.

Usage

CLASS (x)

Arguments

x

An ObjectArray.

See Also

ObjectArray

Examples

Run this code
# NOT RUN {
v <- ObjectArray ("MyClass", 10)
CLASS (v)
class (v)
# }

Run the code above in your browser using DataLab