#Basis System
- Found the Basis
The Fourier basis system is the usual choice for periodic functions, and the spline basis system (and bsplines in particular) tends to serve well for nonperiodic functions.
1.1 Fourier basis system
Only two pieces of information are required to define a Fourier basis system:
a. the number of basis functions K and
b. the period T
daybasis65 =create.fourier.basis(c(0,365), 65, T)
1.2 spline basis system
To summarize, spline basis systems are defined by the following:
a. the break points defining subintervals,
b. the degree or order of the polynomial segments, and
c. the sequence of knots.
number of basis of unctions = order + number o f interior knots
B-Splines
splinebasis = create.bspline.basis(c(0,10), 13)
heightbasis = create_bspl