create.polynomial.basis(rangeval=c(0, 1), nbasis=2, ctr=0,
dropind=NULL, quadvals=NULL, values=NULL,
basisvalues=NULL, names='polynom', axes=NULL)
quadvals
contains the
quadrature points, and the second column the quadquadvals
and
one column for each basis function. The elements of the list
correspond to the basis functions and their derivatives evaluated at
the quadrature points contained in the For polynom
bases, this defaults to paste('polynom',
1:nbreaks, sep='').
plot
functions to create
custom axes
. If this axes
argument is not
NULL
, functions plot.basisfd
, plot.fd
,
plot.fdSmooth
polynom
.basisfd
,
create.basis
,
create.bspline.basis
,
create.constant.basis
,
create.fourier.basis
,
create.exponential.basis
,
create.monomial.basis
,
create.polygonal.basis
,
create.power.basis
# Create a polynomial basis over the years in the 20th century
# and center the basis functions on 1950.
basisobj <- create.polynomial.basis(c(1900, 2000), nbasis=3, ctr=1950)
# plot the basis
# The following should work but doesn't; 2007.05.01
#plot(basisobj)
Run the code above in your browser using DataLab