harmsCut: Separates the matrices of the coefficients of harmonics

Description Usage Arguments Value

View source: R/harmCut.r


This function is used in mfpca to cut the harmonic coefficient matrix. In fact mfpca call a c++ mfpca which return (among others) the matrix of the coefficients of the harmonics in the basis expantion. But in the multivariate case the coefficient matrix for all dimension are store in the same matrix, so we use this function to store each dimension in the specific matrix.


  harmsCut(harms, nbasis)



the coefficients matrix, see the description for more details


vector containing the number of basis for each dimension


a list of length dimension of the data which contain the harmonic coefficients matrix for each dimension

Funclustering documentation built on May 19, 2017, 7:01 p.m.

Search within the Funclustering package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.