tbase: Generate Truncated Spline Base

View source: R/tbase.r

tbaseR Documentation

Generate Truncated Spline Base

Description

Generate Truncated Spline Base

Usage

tbase(x, iknots, lk, hk, deg = 3)

Arguments

x

A vector.

iknots

A vector of inner knots.

lk

lower boundary knot.

hk

higher boundary knot.

deg

degree of the splines, default is 3.

Value

The truncated spline base.

Examples

tbase(x=c(0.25,0.35,0.5,0.7),iknots=c(0.2,0.4,0.6,0.8),lk=0,hk=1,deg=3)


marvels2031/PWEALL_1.4.0 documentation built on April 22, 2022, 12:52 a.m.