Arguments
data
'data' contains the data. 'data' has to be a matrix or a
data.frame with two columns.
K
K is the degree of the Bernstein polynomials. In the case of
linear B-spline basis functions, K+1 nodes are used for the basis functions.
lambda
Starting value for lambda, default is lambda=100.
order.Dvine
Indicating if the first level of the Dvine is
ordered, default (order.Dvine=TRUE).
pen
'pen' indicates the used penalty. 'pen=1' for the
difference penalty of m-th order. 'pen=2' is only implemented for
Bernstein polynomials, it is the penalty based
on the integrated squared second order derivatives of the Bernstein polynomials.
doMC
Indicating if parallel computing using the doMC-pacakges
is done, default is TRUE. 'doMC' does not work for Windows PC.
base
Type of basis function, default is
"Bernstein". An alternative is base="B-spline".
m
Indicating the order of differences to be penalised. Default is "m=2".