Learn R Programming

RnavGraph (version 0.1.8)

ng_image_files: Import color image files (png, jpg, bmp, etc...) into a NG_image object

Description

NG_image objects are needed to plot images in the tk2d device.

Supported file types are those supported by the tcl Img extension. If your R can not access the Img extension (currently under Windows) you can not import such files. However if you know tcl and R well enough, you might create your own NG_image object as shown in the images_iris demo. See the "files_aloi" and "images_iris" demos (demo(package="RnavGraph")) for examples.

Usage

ng_image_files(name, paths)

Arguments

name
Character string.
paths
A vector of image paths.

Value

NG_image object.

See Also

navGraph, ng_image_array_gray, ng_2d

Examples

Run this code
## See demos and vignette

Run the code above in your browser using DataLab