Learn R Programming

Rvision (version 0.6.0)

isImage: Test for an Image Object

Description

Tests whether the object is of class Image

Usage

isImage(object)

Arguments

object

Any R object.

Value

A logical indicating whether the object is of class Image (TRUE) or not (FALSE).

See Also

Image, image

Examples

Run this code
# NOT RUN {
balloon <- image(system.file("sample_img/balloon1.png", package = "Rvision"))
isImage(balloon)

# }

Run the code above in your browser using DataLab