getranges {cmce} | R Documentation |
Get variable ranges from a design matrix.
Description
getranges()
is a helper function to get the lower/upper bounds of variables in a design matrix, used for rescaling the inputs to the [0,1])
hypercube.
Usage
getranges(design)
Arguments
design |
An |
Value
A p x 2
matrix with the lower and upper bounds (rounded to nearest integer value) of all p
variables in the design matrix.
Examples
library(cmce)
design=matrix(runif(10,1,5),ncol=2,nrow=5)
getranges(design)
[Package cmce version 0.1.0 Index]