Learn R Programming

x3ptools (version 0.0.2)

transpose_x3p: Transpose an x3p object

Description

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

Usage

transpose_x3p(x3p)

Arguments

x3p

x3p object

Examples

Run this code
# NOT RUN {
logo <- read_x3p(system.file("csafe-logo.x3p", package="x3ptools"))
dim(logo$surface.matrix)
# }
# NOT RUN {
image_x3p(logo)
# }
# NOT RUN {
#  transpose the image
logotp <- transpose_x3p(logo)
dim(logotp$surface.matrix)
# }
# NOT RUN {
image_x3p(logotp)
# }

Run the code above in your browser using DataLab