x3p_transpose: Transpose an x3p object

Description Usage Arguments Examples

View source: R/x3p_transpose.R

Description

Transpose the surface matrix of an x3p object. Also adjust meta information.

Usage

1
2
3

Arguments

x3p

x3p object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
logo <- x3p_read(system.file("csafe-logo.x3p", package="x3ptools"))
dim(logo$surface.matrix)
## Not run: 
x3p_image(logo)

## End(Not run)
#  transpose the image
logotp <- x3p_transpose(logo)
dim(logotp$surface.matrix)
## Not run: 
x3p_image(logotp)

## End(Not run)

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