transform_params_logit: Parameter logit/log transform function

Description Usage Arguments Value See Also

View source: R/helper_functions.R

Description

Takes a vector of parameters and a table of parameter bounds, transformation instructions etc. Idea is to convert all parameters to log/specified logit scale. Table should have four columns: use_logistic, use_log, lower_bound, and upper_bound.

Usage

1
transform_params_logit(params, param_table)

Arguments

params

vector of parameters to be transformed

param_table

a matrix of boolean flags and bounds

Value

a vector of the transformed parameters

See Also

param_check, transform_params_logistic


jameshay218/mcmcJH documentation built on May 18, 2019, 11:20 a.m.