Description Usage Arguments Value See Also Examples
Scale a Grid
object.
1 | scale_Grid(X, fromRange = range_Grid(X), toRange = c(0, 1))
|
X |
An object with class |
fromRange |
A numeric vector of length |
toRange |
A numeric vector of length |
An object with the same class as X
but with the
each levels rescaled.
1 2 3 4 | myGD <- Grid(levels = list(x = c(1, 3, 10), y = c(0, 1000, 2000, 3000)))
scale_Grid(myGD)
scale_Grid(as.matrix(myGD))
scale_Grid(as.data.frame(myGD))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.