Learn R Programming

vectools (version 0.2.0)

12_is_functions: Is Functions

Description

Functions to test if an object is of a particular class.

Note that NestMatrix and MatrixArray extend ObjectArray, and PartMatrix extends SectMatrix.

Usage

is.ObjectArray (x)
is.NestMatrix (x)
is.PartMatrix (x)
is.SectMatrix (x)
is.MatrixArray (x)

is.ZERO (x)

Arguments

x

An object to test.

Value

True or false.

Examples

Run this code
# NOT RUN {
v <- ObjectArray (,c (5, 10) )

is.ObjectArray (v)
# }

Run the code above in your browser using DataLab