Returns a matrix C that can be used to specify linear constraints C*b >= 0 to impose unimodality with mode at the m-th element on a numeric vector b of length p.
Integer (>=2) giving the length of the vector b.
Location of the mode within the vector b. Should be in integer between 1 and p.
Matrix C with coefficients for the linear constraints.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.