image.x3p: Raster image of an x3p surface

Description Usage Arguments Examples

View source: R/image_x3p.R

Description

image.x3p expands the generic image method for x3p objects. This image function creates a raster image to show the surface of an x3p file. Due to some inconsistency in the mapping of the origin (0,0), (choice between top left or bottom left) image functions from different packages will result in different images.

Usage

1
2
## S3 method for class 'x3p'
image(x, ...)

Arguments

x

an x3p object

...

parameters passed into image

Examples

1
2
logo <- x3p_read(system.file("csafe-logo.x3p", package="x3ptools"))
image(logo)

x3ptools documentation built on Nov. 27, 2021, 1:06 a.m.