powered by
For given lower and upper bounds, a and b, respectively, coded input values are mapped to their natural values
getNatDesignFromCoded(x, a, b)
(n,m)-dim matrix of coded values, i.e., lower values are coded as -1, upper values as +1.
matrix
m-dim vector of lower bounds (natural values)
vector
m-dim vector of upper bounds (natural values)
# NOT RUN { require(babsim.hospital) x <- matrix(rep(-1,29),1,) bounds <- getBounds() lower <- bounds$lower upper <- bounds$upper getNatDesignFromCoded(x, a = lower, b=upper) # }
Run the code above in your browser using DataLab