dim.x3p | R Documentation |
dim.x3p
expands the generic dim method for x3p objects and returns (mainly) the dimensions of the surface matrix.
## S3 method for class 'x3p'
dim(x)
x |
an x3p object |
a vector of length three. The first two integers contain width and height of the surface scan, the third dimension is either 1 or 2, depending on whether there is a mask (2) or not (1).
logo <- x3p_read(system.file("csafe-logo.x3p", package="x3ptools"))
dim(logo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.