| computeL22BayesSpacesBasisMatrix.basisfd | R Documentation |
create the transform matrix A from a B-spline basis (fda::create.bspline.basis())
## S3 method for class 'basisfd'
computeL22BayesSpacesBasisMatrix(x, ...)
x |
a 'basisfd' object |
... |
further unused generic arguments |
matrix
computeL22BayesSpacesBasisMatrix(
fda::create.bspline.basis(rangeval = c(0,1),
nbasis=9,
norder=4,
breaks=seq(0,1,length.out=7)
)
)
# a cubic B-spline basis with 8 functions yields a 7 x 8 matrix
A = computeL22BayesSpacesBasisMatrix(
fda::create.bspline.basis(c(0,1), nbasis=8, norder=4)
)
dim(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.