Usage
lam.search(data,K,lam,m,max.iter,q,base,fix.lambda,pen,id)
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.
lam
Vector of potential starting values for lambda
m
Indicating the order of differences to be penalised. Default is "m=2".
max.iter
maximum number of iteration, the default is max.iter=51.
q
Order of B-spline basis, i.e. default q=2 means linear B-spline basis.
base
Type of basis function.
fix.lambda
Indicator if fix lambda is used.
pen
Indicating type of penalisation, corresponding to basis type 'basis'.