ipk {bspline}R Documentation

Intervals of points in knot intervals

Description

Find first and last+1 indexes iip s.t. x[iip] belongs to interval starting at xk[iik]

Usage

ipk(x, xk)

Arguments

x

Numeric vector, abscissa points (must be non decreasing)

xk

Numeric vector, knots (must be non decreasing)

Value

Integer matrix of size (2 x length(xk)-1). Indexes are 0-based


[Package bspline version 2.2 Index]