isBoundedL | R Documentation |
Given a vector of n function values and an index ix, check whether values 1:ix are zero. Returns TRUE if they are, FALSE otherwise.
isBoundedL(f, ix)
f |
A vector of function values for increasing abscissa values. |
ix |
An index giving the cutoff for checking for zero. |
As in isUnimodal
, the values are first scaled to fill [0, 1] and then rounded to
four decimal places. Because of this it is still possible to use the "bounded support"
constraints with the Gaussian kernel.
This function is intended to be called from other functions in the scdensity package. It does not implement any argument checking.
A logical value indicating if the constraint is satisfied.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.