Learn R Programming

vectools (version 0.3.0)

30_is_functions: Is Functions

Description

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

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

Usage

is.ZERO (object)

is.RImage (object) is.GeomObject (object)

is.Points (object) is.Line (object) is.Polygon (object) is.Text (object) is.Grid (object)

is.SImage (object) is.MImage (object)

is.ImageArray (object) is.ObjectArray (object) is.GeomArray (object) is.NestMatrix (object) is.PartMatrix (object) is.SectMatrix (object) is.MatrixArray (object)

Arguments

object

An object to test.

Value

TRUE or FALSE.

Examples

Run this code
# NOT RUN {
is.ZERO (ZERO)
# }

Run the code above in your browser using DataLab