bsp: Builder for B-splines basis and penalty matrices typically...

Description Usage Arguments

View source: R/generalFunctions.R

Description

Builder for B-splines basis and penalty matrices typically used in DoubleGam and DoubleRobGam

Usage

1
bsp(x, nknots = 15, p = 3, center = TRUE, sm.p = 1, order = 2)

Arguments

x

data vector

nknots

number of knots used in building the B-splines

p

polynomial degree of the basis

center

logical indicator on whether the design matrix should be centered (and it should be the case when more than one covariate enter the model)

sm.p

smoothing parameter used in the penalty matrix build

order

penalty matrix order


ilapros/DoubleRobGam documentation built on Aug. 29, 2021, 12:19 a.m.