Learn R Programming

x3ptools (version 0.0.4)

x3p_transpose: Transpose an x3p object

Description

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

Usage

x3p_transpose(x3p)

transpose_x3p(x3p)

Arguments

x3p

x3p object

Examples

Run this code
logo <- x3p_read(system.file("csafe-logo.x3p", package="x3ptools"))
dim(logo$surface.matrix)
if (FALSE) {
x3p_image(logo)
}
#  transpose the image
logotp <- x3p_transpose(logo)
dim(logotp$surface.matrix)
if (FALSE) {
x3p_image(logotp)
}

Run the code above in your browser using DataLab