transform_pars: Transforming parameters from -Inf to Inf into parameters from...

View source: R/dd_utils.R

transform_parsR Documentation

Transforming parameters from -Inf to Inf into parameters from -1 to 1

Description

Function to transform pars in a way that is more useful for optimization: trpars <- sign(pars) * pars/(sign(pars) + pars);

Usage

transform_pars(pars)

Arguments

pars

Parameters to be transformed

Value

Transformed parameters

Author(s)

Rampal S. Etienne


DDD documentation built on July 26, 2023, 5:25 p.m.