Convert a univariate functional data object to a list for input to
a univariate functional data object.
a list as required for the second argument of
1 2 3 4 5
Lbasis = create.constant.basis(c(0,365)); # create a constant basis Lcoef = matrix(c(0,(2*pi/365)^2,0),1,3) # set up three coefficients wfdobj = fd(Lcoef,Lbasis) # define an FD object for weight functions wfdlist = fd2list(wfdobj) # convert the FD object to a cell object harmaccelLfd = Lfd(3, wfdlist) # define the operator object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.