unscale: Function which unscale un matrix or a vector

Description Usage Arguments Value Examples

View source: R/functions.R

Description

Function which unscale un matrix or a vector

Usage

1
unscale(M, binf, bsup, diag = FALSE, sym = FALSE)

Arguments

M

the matrix or the vector

binf

the lower bound

bsup

the upper bound

diag

default value False if we want to unscale the whole matrix

sym

default value False if we do not have a symmetric matrix

Value

the unscaled vector or matrix

Examples

1
2
3
4
5
6
## Not run: 
X <- diag(3)*runif(3)
Y <- unscale(X,rep(10,3),rep(15,3))
print(Y)

## End(Not run)

mathieucarmassi/CaliCo documentation built on Aug. 14, 2019, 11:32 a.m.