Learn R Programming

scdensity (version 1.0.3)

BuildConstraints: Build objects Apos, Aunit, Aeq, Ashape, bshape

Description

This function builds the matrices/vectors needed to implement shape constraints in the estimation step.

Usage

BuildConstraints(P)

Value

The same list, with Apos, Aunit, Aeq, Ashape, bshape filled in.

Arguments

P

A list of problem obejcts