Learn R Programming

logcondens.mode (version 1.0.1)

activeSetRoutines.mode.Rd: Auxiliary Numerical Routine for the Function activeSetLogCon.mode

Description

Function used by activeSetLogCon.mode.

Usage

LocalExtend(x, IsKnot, x2, phi2, constr=NULL)

Arguments

x
Vector of independent and identically distributed numbers, with strictly increasing entries.
IsKnot
Vector with entries IsKnot$_i = 1\{\phi$ has a kink at $x_i\}.$
x2
Vector of same type as $x$.
phi2
Vector of same type as $\phi$.
constr
If doing unconstrained optimization then constr can be of length less or equal to 1 (e.g. NULL) or have two identical entries. If modally constrained optimization, then constr is a numeric vector of length two containing two integer indices for x2 corresponding to the knots on either side of the mode.

See Also

Used by activeSetLogCon.mode to estimate a log-concave probability density with known location of mode.