param_unconstr_to_constr: Transform a vector from an unconstrained to a constrained...

Description Usage Arguments Value

View source: R/variable_transforms.R

Description

Transform a vector from an unconstrained to a constrained representation. The categories are: Category Description 0 Unconstrained 1 Positive 2 -1 to 1 3 Positive difference

Usage

1
param_unconstr_to_constr(param_bar, tf_cat_vect)

Arguments

param_bar

The vector of unconstrained parameters

tf_cat_vect

The vector of transformation categories

Value

The vector of constrained parameters, param


MichaelHoltonPrice/yada documentation built on Sept. 19, 2021, 11:27 p.m.