meanbasis | R Documentation |
Given a basis object as defined in the fda package (see basisfd
),
this function simply computes the vector of means of the basis functions. Used internally.
meanbasis(basis, rng = NULL)
basis |
a basis object of class |
rng |
time range. By default, the entire interval spanned by the basis. Must be left NULL for Fourier bases. |
Vector of means of the basis functions
Biplab Paul <paul.biplab497@gmail.com> and Philip Tzvi Reiss <reiss@stat.haifa.ac.il>
require(fda)
bbasis6 <- create.bspline.basis(nbasis=6)
meanbasis(bbasis6)
meanbasis(bbasis6, c(.3,.6))
fbasis11 <- create.fourier.basis(nbasis=11)
meanbasis(fbasis11)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.