Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gsisimshape

Internal function: Reshape an object to the shape type of another


Description

Reshape an object to the shape of another

Usage

gsi.simshape(x,oldx)

Arguments

x

the data set to be reshaped

oldx

a data set of the intended shape

Details

This function changes the dimension attribute accordingly.

Value

x, but re-shaped as oldx

Note

Do not use gsi.* functions directly since they are internal functions of the package. To use a gsi function, attach the gsi environment.

Author(s)

K.Gerald v.d. Boogaart http://www.stat.boogaart.de

Examples

#gsi.simshape(matrix(1:4,nrow=1),1:3)

compositions

Compositional Data Analysis

v2.0-1
GPL (>= 2)
Authors
K. Gerald van den Boogaart <boogaart@hzdr.de>, Raimon Tolosana-Delgado, Matevz Bren
Initial release
2021-01-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.