gsisimshape: Internal function: Reshape an object to the shape type of...

gsi.simshapeR Documentation

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 documentation built on April 14, 2023, 12:26 a.m.