get_unimodal_constraints: Returns the constraints needed to enforce modality at (nu,k).

Description Usage Arguments Value

View source: R/constraints.R

Description

Returns the constraints needed to enforce modality at (nu,k).

Usage

1
get_unimodal_constraints(m, s, p, unimodal, nu, k)

Arguments

m

The order of the Bernstein densities.

s

The split points.

p

Order of connectedness.

nu

nu-index of the mode.

k

k-index of the mode

Value

A constraint matrix.


JonasMoss/polygrams documentation built on Nov. 8, 2019, 5:19 p.m.