meanbasis {ctmva} | 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)
basis |
a basis object of class |
Vector of means of the basis functions
Biplab Paul <paul.biplab497@gmail.com> and Philip Tzvi Reiss <reiss@stat.haifa.ac.il>
require(fda)
fbasis11 <- create.fourier.basis(nbasis=11)
zapsmall(meanbasis(fbasis11)) # the sine functions have mean 0