om_theta_fill: Fill parameters to the G and weights

View source: R/om_optim.R

om_theta_fillR Documentation

Fill parameters to the G and weights

Description

Fill parameters to the G and weights

Usage

om_theta_fill(theta = NULL, weights, mat_g, uncons_theta = TRUE, tot = 1)

Arguments

theta

parameters in weights and G

weights

vector of the original weights

mat_g

transition matrix G

uncons_theta

whether theta are unconstrained. If TRUE, convert using exponential function. Example: (row tot - row sum fixed values) [e^a/(1+e^a+e^b) e^b/(1+e^a+e^b)]


olssol/optMTP documentation built on March 30, 2022, 6:23 p.m.