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

View source: R/spotTools.R

getNatDesignFromCodedR Documentation

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

x <- matrix(rep(-1,2),1,)
lower <- c(-10,-10)
upper <- c(10,10)
getNatDesignFromCoded(x, a = lower, b=upper)

SPOT documentation built on June 26, 2022, 1:06 a.m.