Learn R Programming

spatstat (version 1.23-1)

is.im: Test Whether An Object Is A Pixel Image

Description

Tests whether its argument is a pixel image (object of class "im").

Usage

is.im(x)

Arguments

x
Any object.

Value

  • TRUE if x is a pixel image, otherwise FALSE.

Details

This function tests whether the argument x is a pixel image object of class "im". For details of this class, see im.object. The object is determined to be an image if it inherits from class "im".