Learn R Programming

pweight (version 0.0.1)

g_fun: compute the dual constraint function: 1 if lambda

Description

compute the dual constraint function: 1 if lambda

Usage

g_fun(eta, gamma, lambda, l_prime)

Arguments

eta,gamma
prior mean and standard error (all inputs must be vectors of the same length)
lambda
the dual variable (a scalar)
l_prime
crossing points

Value

Value of the dual constraint (vector of same length as the inputs)