Learn R Programming

BayesDecon (version 0.1.4)

bspline_basis: Generate a B-spline Basis Matrix

Description

Generate a B-spline Basis Matrix

Usage

bspline_basis(x, lwr, upr, K)

Value

A B-spline basis matrix.

Arguments

x

A numeric vector of values on which to evaluate the basis.

lwr

A lower bound.

upr

An upper bound.

K

A number of knot points.

See Also

bspline