Nice!
I noticed that in generated structure it has two attributes
attr(,"scaled:center") and attr(,"scaled:scale")
How can I access them ?
R
Giovanni Petris <[EMAIL PROTECTED]>
10/24/2003 02:50 PM
Please respond to Giovanni Petris
To: Ryszard Czerminski/PH/[EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: Re: [R] how to remove NaN columns ?
> > xs <- lapply(xdata, function(x){(x - mean(x))/sqrt(var(x))})
Incidentally, the function 'scale' does just that.
--
__________________________________________________
[ ]
[ Giovanni Petris [EMAIL PROTECTED] ]
[ Department of Mathematical Sciences ]
[ University of Arkansas - Fayetteville, AR 72701 ]
[ Ph: (479) 575-6324, 575-8630 (fax) ]
[ http://definetti.uark.edu/~gpetris/ ]
[__________________________________________________]
[[alternative HTML version deleted]]
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help