Reshape an object to the shape of another
gsi.simshape(x,oldx)
the data set to be reshaped
a data set of the intended shape
x
, but re-shaped as oldx
This function changes the dimension attribute accordingly.
# NOT RUN {
#gsi.simshape(matrix(1:4,nrow=1),1:3)
# }
Run the code above in your browser using DataLab