Learn R Programming

SPOT (version 2.11.10)

getNatDesignFromCoded: Get natural parameter values from coded +-1 representation

Description

For given lower and upper bounds, a and b, respectively, coded input values are mapped to their natural values

Usage

getNatDesignFromCoded(x, a, b)

Arguments

x

(n,m)-dim matrix of coded values, i.e., lower values are coded as -1, upper values as +1.

a

m-dim vector of lower bounds (natural values)

b

m-dim vector of upper bounds (natural values)

Examples

Run this code
# NOT RUN {
x <- matrix(rep(-1,2),1,)
lower <- c(-10,-10)
upper <- c(10,10)
getNatDesignFromCoded(x, a = lower, b=upper)
# }

Run the code above in your browser using DataLab