Description Usage Arguments Details Value Author(s) See Also Examples
Auxiliary function to scale data.
1 |
x |
A |
method |
A
|
... |
Additional arguments passed to |
If x
is a matrix and method="columnwise"
, the same
scaling can be achieved, for example, with
scale(x, center=apply(z, 2, min), scale=apply(z, 2,
function(x) diff(range(x))))
.
scale01()
returns a matrix
of the same dimensions
as x
, but linearly scaled to lie in [0,1].
Marius Hofert and Wayne Oldford
zenplot()
where scale01()
is used.
scale()
for center-scale type of scaling of matrix-like
objects (only).
1 2 | ## Implementation
scale01
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.