The R Project SVN R

Rev

Rev 27447 | Rev 41593 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27447 Rev 27716
Line 55... Line 55...
55
  arbitrary statistics.
55
  arbitrary statistics.
56
 
56
 
57
  For working with the scale of a plot, see \code{\link[graphics]{par}}.
57
  For working with the scale of a plot, see \code{\link[graphics]{par}}.
58
}
58
}
59
\examples{
59
\examples{
-
 
60
require(stats)
60
x <- matrix(1:10, nc=2)
61
x <- matrix(1:10, nc=2)
61
(centered.x <- scale(x, scale=FALSE))
62
(centered.x <- scale(x, scale=FALSE))
62
cov(centered.scaled.x <- scale(x))# all 1
63
cov(centered.scaled.x <- scale(x))# all 1
63
}
64
}
64
\keyword{array}
65
\keyword{array}