R/TCS.R

Defines functions TCS

Documented in TCS

TCS <-
function(basis, cov, lambda){
	cov[abs(cov)<lambda]=0
	smooth=basis%*%cov%*%t(basis)
	return(smooth)	
}

Try the treelet package in your browser

Any scripts or data that you put into this service are public.

treelet documentation built on May 29, 2017, 7:13 p.m.