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
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
2 matches
Mail list logo