Learn R Programming

spatstat.geom (version 3.3-2)

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)

Value

TRUE if x is a pixel image, otherwise FALSE.

Arguments

x

Any object.

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au

and Rolf Turner rolfturner@posteo.net

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