[R] Inverting a scale(X)

Godfrey van der Linden gvdl at mac.com
Sat Jul 3 08:05:08 CEST 2010

G'day, All.

I have been trying to trackdown a problem in my R analysis script. I perform a scale() operation on a matrix then do further work.

Is there any way of inverting the scale() such that
    sX <- scale(X)
    Xprime <- inv.scale(x); 	# does inv.scale exist?

resulting in Xprime_{ij} == X_{ij} where Xprime_{ij} \in R

There must be some way of doing it but I'm such a newb that I haven't been able to find it.



More information about the R-help mailing list