powered by
Reshape an object to the shape of another
gsi.simshape(x,oldx)
x, but re-shaped as oldx
x
oldx
the data set to be reshaped
a data set of the intended shape
K.Gerald v.d. Boogaart http://www.stat.boogaart.de
This function changes the dimension attribute accordingly.
#gsi.simshape(matrix(1:4,nrow=1),1:3)
Run the code above in your browser using DataLab