Hi, I have an efficiency question.

To centralise a dataset (in a data frame) I have been using:

a <- mean(Data)
Data <- t(t(Data)-a)

...to force row-wise recycling.

Is there a better/more efficient/more elegant way than transposing the dataset twice?

Thanks
	[[alternative HTML version deleted]]

