Kum-Hoe Hwang wrote:
> HOwdy
> 
> I read R books about scale function for variable transformation.
> Acoording to this  book
> scale function leads me to better regression results. Or am I worng?
> 
> I hope somebody tell me about a scale function?
> Is it for variable transformation?

Did you try to read
?scale
?

Look at:
 > x <- rnorm(100, 5, 10)
 > mean(x)
[1] 4.304616
 > sd(x)
[1] 9.926883
 > x <- scale(x)
 > mean(x)
[1] 5.39499e-17
 > sd(x)
[1] 1

Kjetil


> 
> 
> 
> 
> --
> Kum-Hoe Hwang, Phone : 82-31-250-3516Email : [EMAIL PROTECTED]
> 
>       [[alternative HTML version deleted]]
> 
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to