Re: [R] Scale function

2008-01-29 Thread David Winsemius
pellegrini <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > There is something that I do not get with scale function. > > Say that I have a vector v <- c(1,2,3,4,5,6), > > scale(v,center=TRUE,scale=TRUE) gives a new vector with 0 as mean > and 1 as standard deviation. > > but, > > scale

[R] Scale function

2008-01-29 Thread pellegrini
Hello everybody, There is something that I do not get with scale function. Say that I have a vector v <- c(1,2,3,4,5,6), scale(v,center=TRUE,scale=TRUE) gives a new vector with 0 as mean and 1 as standard deviation. but, scale(v, center=FALSE,scale=TRUE) gives a new vector with a standard d