sparseDecom¶
purpose:
Convenience wrapper for eigenanatomy decomposition.
description:
Decomposes a matrix into sparse eigenevectors to maximize explained variance.
usage:
sparseDecom( inmatrix=NA, inmask=NA , sparseness=0.01 , nvecs=50 , its=5 , cthresh=250 )
examples:
mat <- replicate(100, rnorm(20))
mydecom <- sparseDecom(mat)