Define variable row to restructure data (to calculate robust Manova with WRS package)

please considere providing us with a small sample of representative data, so that its easy for us to help you. The article gives hints on how to do that, if you are unsure.