scale_Grid | R Documentation |
Grid
object.Scale a Grid
object.
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.
range_Grid
.
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.