kKnot: k-Knot

View source: R/auxiliary_functions.R

kKnotR Documentation

k-Knot

Description

k-Knots of a discrete function.

Usage

kKnot(p, k)

Arguments

p

Vector

k

Degree of the knots

Details

An integer i is a k-knot of p if \Delta^k p(i) >0, where \Delta^k is the k-th Laplacian of the sequence p.

Value

Vector with the k-knots of p.

Author(s)

Jade Giguelay

References

Knopp K. (1925), <DOI:10.1007/BF01479598> Mehrfach monotone Zahlenfolgen, Mathematische Zeitschrift, 22, 75–85

Giguelay, J., (2016), Estimation of a discrete distribution under k-monotony constraint, in revision, (arXiv:1608.06541)

See Also

Delta

Examples

p=dmixSpline(c(5, 10, 20), k=3, c(0.5, 0.25, 0.25))
knots=kKnot(p, 3) 

pkmon documentation built on Aug. 28, 2023, 5:06 p.m.