create.polygonal.basis(rangeval=NULL, argvals=NULL, dropind=NULL,
quadvals=NULL, values=NULL, basisvalues=NULL, names='polygon',
axes=NULL)
if(is.null(argvals)) 0:1 else range(argvals)
. If length(rangeval) == 1
and rangeval <
quadvals
contains the
quadrature points, and the second column the quadquadvals
.1:nbasis
are
appended as paste(names, 1:nbasis, sep=''
. For example, if
nbasis = 4
, thiplot
functions to create
custom axes
. If this axes
argument is not
NULL
, functions plot.basisfd
, plot.fd
,
plot.fdSmooth
polyg
.basisfd
,
create.bspline.basis
,
create.basis
,
create.constant.basis
,
create.exponential.basis
,
create.fourier.basis
,
create.monomial.basis
,
create.polynomial.basis
,
create.power.basis
# Create a polygonal basis over the interval [0,1]
# with break points at 0, 0.1, ..., 0.95, 1
(basisobj <- create.polygonal.basis(seq(0,1,0.1)))
# plot the basis
plot(basisobj)
Run the code above in your browser using DataLab