reorder() function to permute dimensions?
Hello @aho ,
From conversations I had understood that reorder() function in s2dv could be used to permute the (named) dimensions of a StartR object.
So substituting using aperm() that loses the names of the dimensions and then have to be renamed, like this:
calibrated_hcst<-aperm(calibrated_hcst,c(3,2,4,5,6,1))
names(dim(calibrated_hcst))<-names(dim(sub_hcst))
But looking at the function now I can´t figure out how to use it for that purpose (may be it is just not fit for that!).
Can you confirm if I understood correctly? and if so how should it be used? Thanks!